misc_radius/extra.c File Reference

#include <string.h>
#include <ctype.h>
#include "../../mem/mem.h"
#include "../../ut.h"
#include "extra.h"

Include dependency graph for misc_radius/extra.c:

Go to the source code of this file.

Defines

#define EQUAL   '='
#define SEPARATOR   ';'

Functions

void destroy_extras (struct extra_attr *extra)
int extra2attrs (struct extra_attr *extra, struct attr *attrs, int offset)
int extra2strar (struct extra_attr *extra, struct sip_msg *rq, str *val_arr)
void init_extra_engine (void)
struct extra_attrparse_extra_str (char *extra_str)

Variables

static char int_buf [INT2STR_MAX_LEN *MAX_EXTRA]
static char * static_detector = 0


Define Documentation

#define EQUAL   '='

Definition at line 32 of file misc_radius/extra.c.

#define SEPARATOR   ';'

Definition at line 33 of file misc_radius/extra.c.


Function Documentation

void destroy_extras ( struct extra_attr extra  ) 

Definition at line 215 of file misc_radius/extra.c.

References extra_attr::next, and pkg_free.

int extra2attrs ( struct extra_attr extra,
struct attr attrs,
int  offset 
)

Definition at line 150 of file misc_radius/extra.c.

References attr::n, and extra_attr::next.

int extra2strar ( struct extra_attr extra,
struct sip_msg rq,
str val_arr 
)

void init_extra_engine ( void   ) 

Definition at line 42 of file misc_radius/extra.c.

References int2str(), and static_detector.

struct extra_attr* parse_extra_str ( char *  extra_str  )  [read]


Variable Documentation

char int_buf[INT2STR_MAX_LEN *MAX_EXTRA] [static]

Definition at line 37 of file misc_radius/extra.c.

char* static_detector = 0 [static]

Definition at line 38 of file misc_radius/extra.c.


Generated on Wed May 23 20:00:39 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6