regpv.c File Reference

SIP registrar module - export contacts as PV. More...

#include <string.h>
#include "../../dprint.h"
#include "../../mem/mem.h"
#include "../../mod_fix.h"
#include "../usrloc/usrloc.h"
#include "reg_mod.h"
#include "common.h"
#include "regpv.h"

Include dependency graph for regpv.c:

Go to the source code of this file.

Data Structures

struct  _regpv_name
struct  _regpv_profile

Typedefs

typedef struct _regpv_name regpv_name_t
typedef struct _regpv_profile regpv_profile_t

Functions

int pv_fetch_contacts (struct sip_msg *msg, char *table, char *uri, char *profile)
int pv_free_contacts (struct sip_msg *msg, char *profile, char *s2)
int pv_get_ulc (struct sip_msg *msg, pv_param_t *param, pv_value_t *res)
int pv_parse_ulc_name (pv_spec_p sp, str *in)
int pv_set_ulc (struct sip_msg *msg, pv_param_t *param, int op, pv_value_t *val)
static void regpv_free_profile (regpv_profile_t *rpp)
void regpv_free_profiles (void)
static regpv_profile_tregpv_get_profile (str *name)

Variables

static regpv_profile_t_regpv_profile_list = NULL


Detailed Description

SIP registrar module - export contacts as PV.

Definition in file regpv.c.


Typedef Documentation

typedef struct _regpv_name regpv_name_t


Function Documentation

int pv_fetch_contacts ( struct sip_msg msg,
char *  table,
char *  uri,
char *  profile 
)

int pv_free_contacts ( struct sip_msg msg,
char *  profile,
char *  s2 
)

Definition at line 530 of file regpv.c.

References regpv_free_profile(), and regpv_get_profile().

int pv_get_ulc ( struct sip_msg msg,
pv_param_t param,
pv_value_t res 
)

int pv_parse_ulc_name ( pv_spec_p  sp,
str in 
)

int pv_set_ulc ( struct sip_msg msg,
pv_param_t param,
int  op,
pv_value_t val 
)

Definition at line 266 of file regpv.c.

static void regpv_free_profile ( regpv_profile_t rpp  )  [static]

void regpv_free_profiles ( void   ) 

static regpv_profile_t* regpv_get_profile ( str name  )  [inline, static]


Variable Documentation

Definition at line 57 of file regpv.c.


Generated on Thu May 24 10:00:42 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6