Changeset 6eb91ff for lib/format_erf.c


Ignore:
Timestamp:
02/15/06 11:32:27 (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:
49babe0
Parents:
7068467
Message:

Replace DEVICE/RT/TRACE/SOCKET/etc with TRACE_SOURCE_DEVICE/TRACE_SOURCE_RT/
TRACE_SOURCE_TRACE/TRACE_SOURCE_SOCKET/etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_erf.c

    r7068467 r6eb91ff  
    219219        if (!strncmp(CONNINFO.path,"-",1)) {
    220220                /* STDIN */
    221                 libtrace->sourcetype = STDIN;
     221                libtrace->sourcetype = TRACE_SOURCE_STDIN;
    222222                INPUT.file = LIBTRACE_FDOPEN(fileno(stdin), "r");
    223223               
     
    229229                }
    230230                if (S_ISSOCK(buf.st_mode)) {
    231                         libtrace->sourcetype = SOCKET;
     231                        libtrace->sourcetype = TRACE_SOURCE_SOCKET;
    232232                        if ((INPUT.fd = socket(
    233233                                        AF_UNIX, SOCK_STREAM, 0)) == -1) {
     
    249249                } else {
    250250
    251                         libtrace->sourcetype = TRACE;
     251                        libtrace->sourcetype = TRACE_SOURCE_TRACE;
    252252
    253253                        /* we use an FDOPEN call to reopen an FD
     
    272272                malloc(sizeof(struct libtrace_format_data_t));
    273273
    274         libtrace->sourcetype = RT;
     274        libtrace->sourcetype = TRACE_SOURCE_RT;
    275275
    276276        if (strlen(uridata) == 0) {
Note: See TracChangeset for help on using the changeset viewer.