sterman.c File Reference

#include "../../mem/mem.h"
#include "../../dprint.h"
#include "../../usr_avp.h"
#include "../../radius.h"
#include "../../ut.h"
#include "../auth/api.h"
#include "sterman.h"
#include "authrad_mod.h"
#include "extra.h"
#include <stdlib.h>
#include <string.h>

Include dependency graph for sterman.c:

Go to the source code of this file.

Defines

#define ADD_EXTRA_AVPAIR(_attrs, _attr, _val, _len)

Functions

static int add_cisco_vsa (VALUE_PAIR **send, struct sip_msg *msg)
static int extract_avp (VALUE_PAIR *vp, unsigned short *flags, int_str *name, int_str *value)
static int generate_avps (VALUE_PAIR *received)
int radius_authorize_sterman (struct sip_msg *_msg, dig_cred_t *_cred, str *_method, str *_user)

Variables

static str val_arr [MAX_EXTRA]


Define Documentation

#define ADD_EXTRA_AVPAIR ( _attrs,
_attr,
_val,
_len   ) 


Function Documentation

static int add_cisco_vsa ( VALUE_PAIR **  send,
struct sip_msg msg 
) [static]

static int extract_avp ( VALUE_PAIR *  vp,
unsigned short *  flags,
int_str name,
int_str value 
) [inline, static]

Definition at line 70 of file sterman.c.

References AVP_NAME_STR, AVP_VAL_STR, _str::len, LM_DBG, LM_ERR, int_str::n, int_str::s, _str::s, and str2int().

Referenced by generate_avps().

static int generate_avps ( VALUE_PAIR *  received  )  [static]

int radius_authorize_sterman ( struct sip_msg _msg,
dig_cred_t _cred,
str _method,
str _user 
)


Variable Documentation

str val_arr[MAX_EXTRA] [static]

Definition at line 48 of file sterman.c.


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