Subversion Repositories shark

Rev

Rev 532 | Rev 550 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
497 giacomo 1
#ifndef __FTRACE_OSD__
2
#define __FTRACE_OSD__
3
 
4
/* OS Dependent functions */
5
 
6
#include <FTrace_types.h>
7
 
532 giacomo 8
#define FTRACE_OSD_CHUNK_HEAD 24
497 giacomo 9
 
10
#define FTrace_printf cprintf
11
 
12
void FTrace_OSD_save_event(WORD type, WORD par1);
13
 
14
/* OSD Tracer Init */
15
int FTrace_OSD_init();
16
 
17
/* OSD Chunk Init */
18
int FTrace_OSD_chunk_init(FTrace_Chunk_Ptr c, int normal_size, int emergency_site, FTrace_flags flags);
19
 
503 giacomo 20
int FTrace_OSD_update_chunk_flags(FTrace_Chunk_Ptr c);
21
 
497 giacomo 22
/* OSD Chunk Link */
532 giacomo 23
int FTrace_OSD_chunk_link(FTrace_Chunk_Ptr a, FTrace_Chunk_Ptr b);
497 giacomo 24
 
25
/* OSD Chunk compress function */
26
int FTrace_OSD_compress_chunk(int number, void *temp_data, int *data_size);
27
 
28
/* OSD Send Chunk out */
29
int FTrace_OSD_send_chunk(int number, int osd_flags);
30
 
534 giacomo 31
/* OSD Chunk Dump */
32
int FTrace_OSD_chunk_dump(FTrace_Chunk_Ptr c);
33
 
497 giacomo 34
#endif
35