Functions | Variables

group_mod.c File Reference

Group membership module

More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../../sr_module.h"
#include "../../dprint.h"
#include "../../ut.h"
#include "../../error.h"
#include "../../mem/mem.h"
#include "../../usr_avp.h"
#include "group_mod.h"
#include "group.h"
#include "re_group.h"
Include dependency graph for group_mod.c:

Go to the source code of this file.

Functions

Variables


Detailed Description

Definition in file group_mod.c.


Function Documentation

static int get_gid_fixup ( void **  param,
int  param_no 
) [static]

Group ID fixup.

Parameters:
param fixed parameter
param_no number of parameters
Returns:
0 on success, negative on failure

Definition at line 326 of file group_mod.c.

References get_hf(), _str::len, pv_spec_free(), and _str::s.

Here is the call graph for this function:

static group_check_p get_hf ( char *  str1  )  [static]

Convert a header field description string to hdr_field structure Supported strings: "Request-URI", "To", "From", "Credentials"

Parameters:
str1 header field description string
Returns:
hdr_field structure on success, NULL on failure

Definition at line 250 of file group_mod.c.

References _str::len, and _str::s.

Referenced by get_gid_fixup(), and hf_fixup().

Here is the caller graph for this function:

static int hf_fixup ( void **  param,
int  param_no 
) [static]

Header fixup function.

Parameters:
param fixed parameter
param_no number of parameters
Returns:
0 on success, negative on failure

Definition at line 296 of file group_mod.c.

References get_hf(), _str::len, and _str::s.

Here is the call graph for this function:


Variable Documentation

str table = {TABLE, TABLE_LEN}

'group' table name

Definition at line 115 of file group_mod.c.

Referenced by is_user_in(), mi_usrloc_dump(), and print_udomain().

int use_domain = 0