Changeset b7a328d
- Timestamp:
- 11/10/09 00:19:10 (11 years ago)
- 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:
- e46cb80
- Parents:
- 4f8703ae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/libtrace.h.in
rdfda78f rb7a328d 71 71 typedef unsigned __int32 uint32_t; 72 72 typedef unsigned __int64 uint64_t; 73 #ifdef BUILDING_DLL73 #ifdef LT_BUILDING_DLL 74 74 #define DLLEXPORT __declspec(dllexport) 75 75 #else … … 89 89 # include <stdint.h> 90 90 #endif 91 #ifdef HAVE_GCCVISIBILITYPATCH 92 #define DLLEXPORT __attribute__ (visibility("default")) 93 #define DLLLOCAL __attribute__ (visibility("hidden")) 91 #if __GNUC__ >= 4 92 #ifdef LT_BUILDING_DLL 93 #define DLLEXPORT __attribute__ ((visibility("default"))) 94 #define DLLLOCAL __attribute__ ((visibility("hidden"))) 95 #else 96 #define DLLEXPORT 97 #define DLLLOCAL 98 #endif 94 99 #else 95 100 #define DLLEXPORT … … 897 902 * If this is not known, this will return UINT64_MAX 898 903 */ 904 DLLEXPORT 899 905 uint64_t trace_get_received_packets(libtrace_t *trace); 900 906 … … 908 914 * If this is not known, this will return UINT64_MAX 909 915 */ 916 DLLEXPORT 910 917 uint64_t trace_get_filtered_packets(libtrace_t *trace); 911 918 … … 914 921 * @returns The number of packets captured, but dropped due to buffer overruns 915 922 */ 923 DLLEXPORT 916 924 uint64_t trace_get_dropped_packets(libtrace_t *trace); 917 925 … … 920 928 * @returns The number of packets returned to the user of the library. 921 929 */ 930 DLLEXPORT 922 931 uint64_t trace_get_accepted_packets(libtrace_t *trace); 923 932
Note: See TracChangeset
for help on using the changeset viewer.