Changeset ab4cb04 for lib/libtrace_int.h


Ignore:
Timestamp:
02/27/06 14:31:09 (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:
d5879cc
Parents:
afd0b73
Message:

Cleanup struct libtrace_Format_data_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace_int.h

    rafd0b73 rab4cb04  
    9595struct libtrace_t {
    9696        struct libtrace_format_t *format; /**< format driver pointer */
    97         struct libtrace_format_data_t *format_data; /**<format data pointer */
     97        void *format_data; /**<format data pointer */
    9898        bool started;                   /**< if this trace has started */
    9999        libtrace_err_t err;             /**< error information */
     
    181181        int (*start_output)(libtrace_out_t *libtrace);
    182182        /** @} */
    183         /** finish an input trace, cleanup (or NULL if input not supported) */
     183        /** finish an input trace, cleanup (or NULL if input not supported)
     184         * if the trace is not paused, libtrace will pause the trace before
     185         * calling this function.
     186         */
    184187        int (*fin_input)(libtrace_t *libtrace);
    185188        /** finish an output trace, cleanup (or NULL if output not supported) */
     
    200203        libtrace_linktype_t (*get_link_type)(const libtrace_packet_t *packet);
    201204        /** return the direction of this packet
    202          * This function pointer may be NULL if the format does not support
    203          * getting a direction.
     205         * @note This callback may be NULL if not supported.
    204206         */
    205207        int8_t (*get_direction)(const libtrace_packet_t *packet);
    206208        /** set the direction of this packet
    207          * This function pointer may be NULL if the format does not support
    208          * setting a direction.
     209         * @note This callback may be NULL if not supported.
    209210         */
    210211        int8_t (*set_direction)(const libtrace_packet_t *packet, int8_t direction);
Note: See TracChangeset for help on using the changeset viewer.