Ignore:
Timestamp:
10/14/05 15:25:46 (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:
06a68c5
Parents:
5395ce6
Message:

Added SIMPLE_FUNCTION tag to hint to the compiler that if the function
is called twice, the result may be cached.

Fixed several documentation warnings

Fixed several "const" issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace_int.h

    r9c6aa95 r31709e8d  
    154154        int (*fin_output)(struct libtrace_out_t *libtrace);
    155155        int (*read_packet)(struct libtrace_t *libtrace, struct libtrace_packet_t *packet);
    156         int (*write_packet)(struct libtrace_out_t *libtrace, struct libtrace_packet_t *packet);
     156        int (*write_packet)(struct libtrace_out_t *libtrace, const struct libtrace_packet_t *packet);
    157157        void* (*get_link)(const struct libtrace_packet_t *packet);
    158158        libtrace_linktype_t (*get_link_type)(const struct libtrace_packet_t *packet);
Note: See TracChangeset for help on using the changeset viewer.