aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/wtap-int.h')
-rw-r--r--wiretap/wtap-int.h6
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__ */