Changeset d56089a for examples/munge


Ignore:
Timestamp:
12/15/05 14:16:33 (16 years ago)
Author:
Shane Alcock <salcock@…>
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:
9c87732
Parents:
b8bb4c5
Message:

Updated examples and tools to use new function names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/munge/munge.c

    r3840760 rd56089a  
    177177        struct libtrace_filter_t *filter = NULL;
    178178        struct libtrace_t *trace = 0;
    179         struct libtrace_packet_t *packet = trace_packet_create();
     179        struct libtrace_packet_t *packet = trace_create_packet();
    180180        struct libtrace_out_t *writer = 0;
    181181        bool enc_source = false;
     
    260260                // no output specified, output in same format to stdout
    261261                asprintf(&output,"%s:-","erf");
    262                 writer = trace_output_create(output);
     262                writer = trace_create_output(output);
    263263        } else {
    264                 writer = trace_output_create(argv[optind +1]);
     264                writer = trace_create_output(argv[optind +1]);
    265265        }
    266266        if (!writer) {
    267                 trace_perror("trace_output_create");
     267                trace_perror("trace_create_output");
    268268                return 1;
    269269        }
Note: See TracChangeset for help on using the changeset viewer.