Subversion Repositories shark

Rev

Rev 1085 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1085 pj 1
 
2
#ifndef __UTIL_H
3
#define __UTIL_H
4
 
5
#include "types.h"
6
 
7
char *event_name(int evt);
8
char *event_hexdump(u_int8_t *ptr, int maxsize);
9
char *event_strdump(u_int8_t *ptr, int maxsize);
10
int  event_class(int evt);
11
 
12
int read_trace(char *filename,int (*func)(trc_event_t *));
13
 
14
char *format_time(long time);
15
 
16
#endif
17