Changeset 6dbc47a for lib/libtrace_int.h


Ignore:
Timestamp:
02/21/06 15:48:53 (15 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:
9ff68ff
Parents:
1b4901a
Message:

Updated all formats to use TRACE_FORMAT_* instead of nasty strings
format_rt is in a state where it provides basic client services
Added trace_get_format() function
libtrace_packet_t has a type field for storing format now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace_int.h

    r0a6638f r6dbc47a  
    7272
    7373#include <stdbool.h>
    74 
    75 
    7674
    7775
     
    152150        char *name;
    153151        char *version;
    154         char *type;
     152        enum base_format_t type;
    155153        int (*init_input)(libtrace_t *libtrace);
    156154        int (*config_input)(libtrace_t *libtrace,trace_option_t option,void *value);
Note: See TracChangeset for help on using the changeset viewer.