Subversion Repositories shark

Rev

Rev 506 | Rev 534 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef __FTRACE_OSD__
#define __FTRACE_OSD__

/* OS Dependent functions */

#include <FTrace_types.h>

#define FTRACE_OSD_CHUNK_HEAD 24

#define FTrace_printf cprintf

void FTrace_OSD_save_event(WORD type, WORD par1);

/* OSD Tracer Init */
int FTrace_OSD_init();

/* OSD Chunk Init */
int FTrace_OSD_chunk_init(FTrace_Chunk_Ptr c, int normal_size, int emergency_site, FTrace_flags flags);

int FTrace_OSD_update_chunk_flags(FTrace_Chunk_Ptr c);

/* OSD Chunk Link */
int FTrace_OSD_chunk_link(FTrace_Chunk_Ptr a, FTrace_Chunk_Ptr b);

/* OSD Chunk compress function */
int FTrace_OSD_compress_chunk(int number, void *temp_data, int *data_size);

/* OSD Send Chunk out */
int FTrace_OSD_send_chunk(int number, int osd_flags);

#endif