Changeset 4d5a9a7
- Timestamp:
- 08/12/05 10:56:50 (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:
- 2b58b60
- Parents:
- ffc8c8d
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/libtrace.h
rffc8c8d r4d5a9a7 198 198 void trace_help(); 199 199 200 /** Gets the output format for a given output trace 201 * 202 */ 203 char *trace_get_output_format(struct libtrace_out_t *libtrace); 204 200 205 /** Prints error information 201 206 * -
lib/trace.c
rffc8c8d r4d5a9a7 187 187 188 188 default: 189 fprintf(stderr, "Unk own errcode %d\n",trace_err.err_num);189 fprintf(stderr, "Unknown errcode %d\n",trace_err.err_num); 190 190 break; 191 191 } … … 196 196 #define URI_PROTO_LINE 16 197 197 198 198 /** Gets the name of the output format for a given output trace. 199 * 200 * @params libtrace the output trace to get the name of the format for 201 * @returns the output format 202 * 203 */ 204 char *trace_get_output_format(struct libtrace_out_t *libtrace) { 205 char * format = libtrace->format->name; 206 207 return format; 208 } 199 209 200 210 /** Create a trace file from a URI … … 388 398 389 399 if (!options) { 390 printf("No options specified\n");391 400 return 0; 392 401 }
Note: See TracChangeset
for help on using the changeset viewer.