summaryrefslogtreecommitdiff
path: root/fmtutils.h
diff options
context:
space:
mode:
authorPhilip Paeps <philip@FreeBSD.org>2019-10-06 04:26:37 +0000
committerPhilip Paeps <philip@FreeBSD.org>2019-10-06 04:26:37 +0000
commit30a580a870fabfea51e4b970c488e58bd1515ce4 (patch)
treecf18fcdc7c1818418ee5fc375ca4ba2094583a41 /fmtutils.h
parentd109bf9e4b609b5a0626b433e56db4a47dc530bb (diff)
Notes
Diffstat (limited to 'fmtutils.h')
-rw-r--r--fmtutils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fmtutils.h b/fmtutils.h
index 62c78fdba1b2..838948bcd3d6 100644
--- a/fmtutils.h
+++ b/fmtutils.h
@@ -43,6 +43,11 @@ extern "C" {
void pcap_fmt_errmsg_for_errno(char *, size_t, int,
PCAP_FORMAT_STRING(const char *), ...) PCAP_PRINTFLIKE(4, 5);
+#ifdef _WIN32
+void pcap_fmt_errmsg_for_win32_err(char *, size_t, DWORD,
+ PCAP_FORMAT_STRING(const char *), ...) PCAP_PRINTFLIKE(4, 5);
+#endif
+
#ifdef __cplusplus
}
#endif