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/wtap-int.h | |
parent | 6c29b9edd6db4cfa809a8ede8d22539df117dffe (diff) | |
download | wireshark-aa659985a586d2d2173d457dea8d1b4346e205e8.tar.gz |
Export libwiretap symbols using WS_DLL_PUBLIC define
TODO: hide flex-generated functions
svn path=/trunk/; revision=47948
Diffstat (limited to 'wiretap/wtap-int.h')
-rw-r--r-- | wiretap/wtap-int.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wiretap/wtap-int.h b/wiretap/wtap-int.h index a52b228baa..1e62df935e 100644 --- a/wiretap/wtap-int.h +++ b/wiretap/wtap-int.h @@ -39,6 +39,7 @@ #include "wtap.h" +WS_DLL_PUBLIC int wtap_fstat(wtap *wth, ws_statb64 *statb, int *err); typedef gboolean (*subtype_read_func)(struct wtap*, int*, char**, gint64*); @@ -112,12 +113,14 @@ struct wtap_dumper { GArray *interface_data; /**< An array holding the interface data from pcapng IDB:s or equivalent(?) NULL if not present.*/ }; -extern gboolean wtap_dump_file_write(wtap_dumper *wdh, const void *buf, +WS_DLL_LOCAL +gboolean wtap_dump_file_write(wtap_dumper *wdh, const void *buf, size_t bufsize, int *err); extern gint64 wtap_dump_file_seek(wtap_dumper *wdh, gint64 offset, int whence, int *err); extern gint64 wtap_dump_file_tell(wtap_dumper *wdh); +WS_DLL_LOCAL extern gint wtap_num_file_types; /* Macros to byte-swap 64-bit, 32-bit and 16-bit quantities. */ @@ -363,6 +366,7 @@ extern gint wtap_num_file_types; #endif /*** get GSList of all compressed file extensions ***/ +WS_DLL_LOCAL GSList *wtap_get_compressed_file_extensions(void); #endif /* __WTAP_INT_H__ */ |