Subversion Repositories shark

Rev

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

Rev Author Line No. Line
1063 tullio 1
 
2
/*
3
 * This program is free software; you can redistribute it and/or modify
4
 * it under the terms of the GNU General Public License as published by
5
 * the Free Software Foundation; either version 2 of the License, or
6
 * (at your option) any later version.
7
 *
8
 * This program is distributed in the hope that it will be useful,
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
 * GNU General Public License for more details.
12
 *
13
 * You should have received a copy of the GNU General Public License
14
 * along with this program; if not, write to the Free Software
15
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
 *
17
 */
18
 
497 giacomo 19
#ifndef __FTRACE_OSD__
20
#define __FTRACE_OSD__
21
 
22
/* OS Dependent functions */
23
 
24
#include <FTrace_types.h>
25
 
532 giacomo 26
#define FTRACE_OSD_CHUNK_HEAD 24
497 giacomo 27
 
28
#define FTrace_printf cprintf
29
 
30
void FTrace_OSD_save_event(WORD type, WORD par1);
31
 
32
/* OSD Tracer Init */
33
int FTrace_OSD_init();
34
 
35
/* OSD Chunk Init */
36
int FTrace_OSD_chunk_init(FTrace_Chunk_Ptr c, int normal_size, int emergency_site, FTrace_flags flags);
37
 
503 giacomo 38
int FTrace_OSD_update_chunk_flags(FTrace_Chunk_Ptr c);
39
 
497 giacomo 40
/* OSD Chunk Link */
532 giacomo 41
int FTrace_OSD_chunk_link(FTrace_Chunk_Ptr a, FTrace_Chunk_Ptr b);
497 giacomo 42
 
43
/* OSD Chunk compress function */
44
int FTrace_OSD_compress_chunk(int number, void *temp_data, int *data_size);
45
 
46
/* OSD Send Chunk out */
550 giacomo 47
int FTrace_OSD_send_chunk(FTrace_Chunk_Ptr c, int osd_flags);
497 giacomo 48
 
534 giacomo 49
/* OSD Chunk Dump */
50
int FTrace_OSD_chunk_dump(FTrace_Chunk_Ptr c);
51
 
497 giacomo 52
#endif
53