Changeset ffc8c8d for lib/libtrace.h
- Timestamp:
- 08/11/05 11:30:41 (16 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:
- 4d5a9a7
- Parents:
- a8ba977
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/libtrace.h
ra114d8b5 rffc8c8d 36 36 37 37 /** API version as 3 byte hex digits */ 38 #define LIBTRACE_API_VERSION 0x01001 038 #define LIBTRACE_API_VERSION 0x010014 39 39 40 40 #ifdef __cplusplus … … 94 94 uint8_t status; 95 95 }; 96 97 /** Enumeration of error codes */ 98 enum {E_NOERROR, E_BAD_FORMAT, E_NO_INIT, E_NO_INIT_OUT, E_URI_LONG, E_URI_NOCOLON, E_INIT_FAILED }; 96 99 97 100 /** Structure for dealing with IP packets */ … … 195 198 void trace_help(); 196 199 197 void trace_perror(); 200 /** Prints error information 201 * 202 * Prints out a descriptive error message for the currently set trace_err value 203 */ 204 void trace_perror(char *caller); 198 205 199 206 /** Create a trace file from a URI
Note: See TracChangeset
for help on using the changeset viewer.