auth_db/authorize.c File Reference

#include <string.h>
#include "../../ut.h"
#include "../../str.h"
#include "../../db/db.h"
#include "../../dprint.h"
#include "../../parser/digest/digest.h"
#include "../../parser/hf.h"
#include "../../parser/parser_f.h"
#include "../../usr_avp.h"
#include "../../mod_fix.h"
#include "../../mem/mem.h"
#include "aaa_avps.h"
#include "authdb_mod.h"

Include dependency graph for auth_db/authorize.c:

Go to the source code of this file.

Functions

static int authorize (struct sip_msg *_m, gparam_p _realm, char *_table, hdr_types_t _hftype)
static int generate_avps (db_res_t *result)
static int get_ha1 (struct username *_username, str *_domain, const str *_table, char *_ha1, db_res_t **res)
int proxy_authorize (struct sip_msg *_m, char *_realm, char *_table)
int www_authorize (struct sip_msg *_m, char *_realm, char *_table)

Variables

static str auth_500_err = str_init("Server Internal Error")


Function Documentation

static int authorize ( struct sip_msg _m,
gparam_p  _realm,
char *  _table,
hdr_types_t  _hftype 
) [inline, static]

static int generate_avps ( db_res_t result  )  [static]

static int get_ha1 ( struct username _username,
str _domain,
const str _table,
char *  _ha1,
db_res_t **  res 
) [inline, static]

int proxy_authorize ( struct sip_msg _m,
char *  _realm,
char *  _table 
)

Definition at line 276 of file auth_db/authorize.c.

References authorize(), and HDR_PROXYAUTH_T.

int www_authorize ( struct sip_msg _m,
char *  _realm,
char *  _table 
)

Definition at line 285 of file auth_db/authorize.c.

References authorize(), and HDR_AUTHORIZATION_T.


Variable Documentation

str auth_500_err = str_init("Server Internal Error") [static]

Definition at line 51 of file auth_db/authorize.c.


Generated on Thu May 17 12:00:35 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6