Changeset 7c9b99b for lib/trace.c
- Timestamp:
- 12/14/05 16:32:20 (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:
- b8bb4c5
- Parents:
- 93d0858
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/trace.c
r3b8a5ef r7c9b99b 375 375 */ 376 376 377 struct libtrace_out_t *trace_ output_create(const char *uri) {377 struct libtrace_out_t *trace_create_output(const char *uri) { 378 378 struct libtrace_out_t *libtrace = malloc(sizeof(struct libtrace_out_t)); 379 379 … … 438 438 * @author Shane Alcock 439 439 */ 440 int trace_ output_config(struct libtrace_out_t *libtrace, char *options) {440 int trace_config_output(struct libtrace_out_t *libtrace, char *options) { 441 441 char *opt_string = 0; 442 442 char *opt_argv[MAXOPTS]; … … 480 480 * @author Shane Alcock 481 481 * */ 482 void trace_ output_destroy(struct libtrace_out_t *libtrace) {482 void trace_destroy_output(struct libtrace_out_t *libtrace) { 483 483 assert(libtrace); 484 484 libtrace->format->fin_output(libtrace); … … 492 492 * @ return a pointer to an initialised libtrace_packet_t structure 493 493 */ 494 struct libtrace_packet_t *trace_ packet_create() {494 struct libtrace_packet_t *trace_create_packet() { 495 495 struct libtrace_packet_t *packet = calloc(1,sizeof(struct libtrace_packet_t)); 496 496 packet->buffer = malloc(LIBTRACE_PACKET_BUFSIZE); … … 503 503 * sideeffect: sets packet to NULL 504 504 */ 505 void trace_ packet_destroy(struct libtrace_packet_t **packet) {505 void trace_destroy_packet(struct libtrace_packet_t **packet) { 506 506 if ((*packet)->buf_control) { 507 507 free((*packet)->buffer);
Note: See TracChangeset
for help on using the changeset viewer.