Changeset 37d2975 for lib/libtrace.h


Ignore:
Timestamp:
10/11/04 14:24:52 (17 years ago)
Author:
Daniel Lawson <dlawson@…>
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:
2b07596
Parents:
ef36351d
Message:

fixes in libtrace_event code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h

    ref36351d r37d2975  
    358358        TRACE_EVENT_SLEEP,
    359359        TRACE_EVENT_PACKET
    360 } libtrace_eventtype_t;
     360} libtrace_event_t;
    361361
    362362typedef struct {
    363         libtrace_eventtype_t type;
     363        libtrace_event_t type;
    364364        int fd;
    365365        double seconds;
    366 } libtrace_event_t;
     366} libtrace_eventobj_t;
    367367
    368368/** process a libtrace event
     
    379379 *  TRACE_EVENT_PACKET  Packet arrived in <buffer> with size <size>
    380380 */
    381 libtrace_event_t trace_event(struct libtrace_t *trace,
     381libtrace_eventobj_t trace_event(struct libtrace_t *trace,
    382382                struct libtrace_packet_t *packet);
    383383
Note: See TracChangeset for help on using the changeset viewer.