Changeset 9e830d4
- Timestamp:
- 04/08/06 17:34:32 (15 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- dd4b39b
- Parents:
- f2f47a7
- Location:
- lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/common.h
r0d57541 r9e830d4 30 30 # define LIBTRACE_FILE int 31 31 # define LIBTRACE_SEEK(file,offset,whence) lseek(file,offset,whence) 32 # define LIBTRACE_TELL(file) tell(file,0,SEEK_CUR)32 # define LIBTRACE_TELL(file) lseek(file,0,SEEK_CUR) 33 33 #endif 34 34 -
lib/fifo.c
r689c220 r9e830d4 35 35 #include <stdio.h> /* sprintf, printf */ 36 36 #include <assert.h> /* assert */ 37 #include <string.h> /* memset / memcpy */ 37 38 #include "libtrace_int.h" 38 39 -
lib/format_erf.c
r23971d0 r9e830d4 197 197 libtrace->format_data = malloc(sizeof(struct erf_format_data_t)); 198 198 199 INPUT.file = NULL;199 INPUT.file = 0; 200 200 201 201 return 0; /* success */ … … 391 391 } 392 392 393 static int erf_config_output(libtrace_out_t *libtrace, trace_option_t option, void *value) { 393 static int erf_config_output(libtrace_out_t *libtrace, trace_option_output_t option, 394 void *value) { 394 395 395 396 switch (option) { -
lib/libtrace_int.h
raf52072 r9e830d4 189 189 int (*init_output)(libtrace_out_t *libtrace); 190 190 /** configure output traces (or NULL if output not supported) */ 191 int (*config_output)(libtrace_out_t *libtrace, trace_option_output_t , void *);191 int (*config_output)(libtrace_out_t *libtrace, trace_option_output_t option, void *); 192 192 /** start output traces (or NULL if output not supported) 193 193 * There is no pause for output traces, as packets are not arriving
Note: See TracChangeset
for help on using the changeset viewer.