Ignore:
Timestamp:
02/17/06 14:49:14 (16 years ago)
Author:
Perry Lorier <perry@…>
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:
65a5900
Parents:
f03fc17
Message:

Abstract away opening up traces into a single trace_open_trace that's more
simple and reliable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_helper.h

    r7068467 r3d4d52d  
    3131#ifndef FORMAT_HELPER_H
    3232#define FORMAT_HELPER_H
     33#include "common.h"
    3334
    34 int trace_read(struct libtrace_t *libtrace, void *buffer, size_t len);
     35int trace_read(libtrace_t *libtrace, void *buffer, size_t len);
    3536
    36 struct libtrace_eventobj_t trace_event_device(struct libtrace_t *trace, struct libtrace_packet_t *packet);
    37 struct libtrace_eventobj_t trace_event_trace(struct libtrace_t *trace, struct libtrace_packet_t *packet);
     37struct libtrace_eventobj_t trace_event_device(libtrace_t *trace, libtrace_packet_t *packet);
     38struct libtrace_eventobj_t trace_event_trace(libtrace_t *trace, libtrace_packet_t *packet);
     39
     40LIBTRACE_FILE trace_open_file(libtrace_t *libtrace);
    3841#endif /* FORMAT_HELPER_H */
Note: See TracChangeset for help on using the changeset viewer.