Ignore:
Timestamp:
03/03/06 18:24:18 (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:
7ac9705
Parents:
c3e6e47
Message:

more error handling support
dag card work-around
removed annoying issue with mallocing memory during constructor that we

never free'd

added the ability to catch finalised packets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace_int.h

    r0d57541 reeab9832  
    193193         */
    194194        int (*read_packet)(libtrace_t *libtrace, struct libtrace_packet_t *packet);
     195        /** finalise a packet
     196         * cleanup any resources used by a packet that can't be reused for
     197         * the next packet.
     198         */
     199        void (*fin_packet)(libtrace_packet_t *packet);
    195200        /** write a packet to a trace from the provided packet
    196201         * (or NULL if output not supported)
     
    302307        /** return information about this trace format to standard out */
    303308        void (*help)();
     309        /** next pointer, should be NULL */
     310        struct libtrace_format_t *next;
    304311};
    305312
Note: See TracChangeset for help on using the changeset viewer.