Subversion Repositories shark

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed


#ifndef __UTIL_H
#define __UTIL_H

#include "types.h"

char *event_name(int evt);
char *event_hexdump(u_int8_t *ptr, int maxsize);
char *event_strdump(u_int8_t *ptr, int maxsize);
int  event_class(int evt);

int read_trace(char *filename,int (*func)(trc_event_t *));

char *format_time(long time);

#endif