Changeset 0ea3526 for lib/libtrace_int.h


Ignore:
Timestamp:
02/24/06 11:39:57 (15 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:
c6a6c3a
Parents:
913721f
Message:

Add new error handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace_int.h

    rc1f2553 r0ea3526  
    7474
    7575
    76 void trace_set_err(int errcode,const char *msg,...);
    7776
    7877#define RP_BUFSIZE 65536
     
    9695        struct libtrace_format_data_t *format_data; /**<format data pointer */
    9796        bool started;
    98 
     97        libtrace_err_t err;
    9998        struct libtrace_event_t event;
    10099        char *uridata;
     
    111110        struct libtrace_format_t *format;
    112111        struct libtrace_format_data_out_t *format_data;
    113 
     112        bool started;
     113        libtrace_err_t err;
    114114        char *uridata;
    115115        struct tracefifo_t *fifo;
    116         bool started;
    117 };
    118 
     116};
     117
     118void trace_set_err(libtrace_t *trace, int errcode,const char *msg,...);
     119void trace_set_err_out(libtrace_out_t *trace, int errcode, const char *msg,...);
    119120
    120121struct trace_sll_header_t {
Note: See TracChangeset for help on using the changeset viewer.