#include <limits.h>#include "sr_module.h"#include "dprint.h"#include "parser/msg_parser.h"#include "flags.h"#include "error.h"#include "stdlib.h"#include "hashes.h"#include "clist.h"#include "mem/mem.h"Go to the source code of this file.
Data Structures | |
| struct | flag_entry |
| struct | flag_hash_head |
Defines | |
| #define | FLAGS_NAME_HASH_ENTRIES 32 |
Functions | |
| int | setflag (struct sip_msg *msg, flag_t flag) |
| int | resetflag (struct sip_msg *msg, flag_t flag) |
| int | isflagset (struct sip_msg *msg, flag_t flag) |
| int | flag_in_range (flag_t flag) |
| void | init_named_flags () |
| int | check_flag (int n) |
| flag_entry * | flag_search (struct flag_hash_head *lst, char *name, int len) |
| flag_entry * | get_flag_entry (char *name, int len) |
| int | get_flag_no (char *name, int len) |
| int | register_flag (char *name, int pos) |
Variables | |
| flag_hash_head | name2flags [FLAGS_NAME_HASH_ENTRIES] |
| unsigned char | registered_flags [MAX_FLAG+1] |
|
|
Definition at line 76 of file flags.c. Referenced by get_flag_entry(), and register_flag(). |
|
|
Definition at line 106 of file flags.c. References flag_in_range(), L_WARN, LOG, and registered_flags. Referenced by yyparse(). |
|
|
Definition at line 60 of file flags.c. References flag, L_ERR, LOG, and MAX_FLAG. Referenced by check_flag(), and do_action(). |
|
||||||||||||||||
|
Definition at line 118 of file flags.c. References clist_foreach, len, _str::len, flag_entry::name, and _str::s. Referenced by get_flag_entry(), and register_flag(). |
|
||||||||||||
|
Definition at line 135 of file flags.c. References flag_search(), FLAGS_NAME_HASH_ENTRIES, get_hash1_raw(), len, and name2flags. Referenced by get_flag_no(). |
|
||||||||||||
|
Definition at line 146 of file flags.c. References get_flag_entry(), len, and flag_entry::no. Referenced by fix_flag(), and yyparse(). |
|
|
Definition at line 95 of file flags.c. References clist_init, and name2flags. Referenced by main(). |
|
||||||||||||
|
Definition at line 56 of file flags.c. References sip_msg::flags. Referenced by do_action(), insert(), is_acc_on(), is_mc_on(), radius_authorize_sterman(), and update(). |
|
||||||||||||
|
Definition at line 164 of file flags.c. References clist_insert, flag_search(), FLAGS_NAME_HASH_ENTRIES, get_hash1_raw(), L_ERR, L_WARN, len, _str::len, LOG, MAX_FLAG, flag_entry::name, name2flags, flag_entry::no, pkg_malloc, registered_flags, and _str::s. Referenced by fix_flag(), and yyparse(). |
|
||||||||||||
|
Definition at line 51 of file flags.c. References sip_msg::flags. Referenced by do_action(), and failure_handler(). |
|
||||||||||||
|
Definition at line 46 of file flags.c. References sip_msg::flags. Referenced by cpl_proxy_to_loc_set(), do_action(), lookup(), and lookup2(). |
|
|
Definition at line 91 of file flags.c. Referenced by get_flag_entry(), init_named_flags(), and register_flag(). |
|
|
Definition at line 92 of file flags.c. Referenced by check_flag(), and register_flag(). |
1.3.9.1