Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00030 #ifndef RING_H
00031 #define RING_H
00032
00033
00034 #define HASHTABLEBITS 13
00035 #define HASHTABLESIZE (((unsigned int)1) << HASHTABLEBITS)
00036 #define HASHTABLEMASK (HASHTABLESIZE - 1)
00037 #define MAXCALLIDLEN 255
00038
00039
00040 extern gen_lock_t *ring_lock;
00041
00042
00054 int ring_insert_callid(struct sip_msg *msg, char *unused1, char *unused2);
00055
00056
00060 void ring_init_hashtable(void);
00061
00062
00066 void ring_destroy_hashtable(void);
00067
00068
00076 int ring_filter(struct sip_msg *msg, unsigned int flags, void *bar);
00077
00078
00085 int ring_fixup(void ** param, int param_no);
00086
00087
00088 #endif