diff options
author | Balint Reczey <balint@balintreczey.hu> | 2013-02-28 19:35:59 +0000 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2013-02-28 19:35:59 +0000 |
commit | aa659985a586d2d2173d457dea8d1b4346e205e8 (patch) | |
tree | 6ec6595ee9f193b8551ea592a2622bb10a7d8e1f /wiretap/pcap-common.h | |
parent | 6c29b9edd6db4cfa809a8ede8d22539df117dffe (diff) |
Export libwiretap symbols using WS_DLL_PUBLIC define
TODO: hide flex-generated functions
svn path=/trunk/; revision=47948
Diffstat (limited to 'wiretap/pcap-common.h')
-rw-r--r-- | wiretap/pcap-common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wiretap/pcap-common.h b/wiretap/pcap-common.h index 8fafb728c8..1753b792ca 100644 --- a/wiretap/pcap-common.h +++ b/wiretap/pcap-common.h @@ -29,18 +29,23 @@ #include <glib.h> #include <wtap.h> +#include "ws_symbol_export.h" +WS_DLL_LOCAL extern int pcap_process_pseudo_header(FILE_T fh, int file_type, int wtap_encap, guint packet_size, gboolean check_packet_size, struct wtap_pkthdr *phdr, union wtap_pseudo_header *pseudo_header, int *err, gchar **err_info); +WS_DLL_LOCAL extern void pcap_read_post_process(int file_type, int wtap_encap, union wtap_pseudo_header *pseudo_header, guint8 *pd, guint packet_size, gboolean bytes_swapped, int fcs_len); +WS_DLL_LOCAL extern int pcap_get_phdr_size(int encap, const union wtap_pseudo_header *pseudo_header); +WS_DLL_LOCAL extern gboolean pcap_write_phdr(wtap_dumper *wdh, int wtap_encap, const union wtap_pseudo_header *pseudo_header, int *err); |