1 /*****************************************************************************\
3 ** Linux Call Router **
5 **---------------------------------------------------------------------------**
6 ** Copyright: Andreas Eversberg **
8 ** trace header file **
10 \*****************************************************************************/
12 struct trace_element {
18 #define MAX_TRACE_ELEMENTS 32
26 unsigned long sec, usec;
34 struct trace_element element[MAX_TRACE_ELEMENTS];
38 #define CATEGORY_L1 0x01
39 #define CATEGORY_L2 0x02
40 #define CATEGORY_L3 0x04
41 #define CATEGORY_CH 0x08
42 #define CATEGORY_EP 0x10
43 #define CATEGORY_AP 0x20
44 #define CATEGORY_RO 0x40
47 void start_trace(int port, char *interface, char *caller, char *dialing, int direction, char *category, char *name);
48 void add_trace(char *name, char *sub, char *value);
50 //char *print_trace(int port, char *interface, char *caller, char *dialing, int direction, char *category, char *name);