\*****************************************************************************/
struct trace_element {
- char name[10];
- char sub[10];
+ char name[11];
+ char sub[11];
char value[64];
};
unsigned long sec, usec;
/* type */
- char category[4];
- int serial;
+ int category;
+ unsigned long serial;
char name[64];
/* elements */
#define CATEGORY_CH 0x01
#define CATEGORY_EP 0x02
+//#define CATEGORY_BC 0x04 check lcradmin help
-void start_trace(int port, char *interface, char *caller, char *dialing, int direction, char *category, char *name);
-void add_trace(char *name, char *sub, char *value);
+void start_trace(int port, struct interface *interface, char *caller, char *dialing, int direction, int category, int serial, char *name);
+void add_trace(char *name, char *sub, const char *fmt, ...);
void end_trace(void);
//char *print_trace(int port, char *interface, char *caller, char *dialing, int direction, char *category, char *name);
+
+