Changeset ffc8c8d for lib/libtrace_int.h


Ignore:
Timestamp:
08/11/05 11:30:41 (16 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:
4d5a9a7
Parents:
a8ba977
Message:

better return codes in format_*.c, trace_perror stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace_int.h

    r72bfe20 rffc8c8d  
    7272
    7373typedef enum {SOCKET, TRACE, STDIN, DEVICE, INTERFACE, RT } source_t;
     74
     75
     76static struct {
     77        int err_num;    // error code
     78        char *problem;  // the format, uri etc that caused the error for reporting purposes
     79} trace_err;
     80
    7481
    7582#define RP_BUFSIZE 65536
Note: See TracChangeset for help on using the changeset viewer.