aboutsummaryrefslogtreecommitdiffstats
path: root/capture-wpcap.h
diff options
context:
space:
mode:
Diffstat (limited to 'capture-wpcap.h')
-rw-r--r--capture-wpcap.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/capture-wpcap.h b/capture-wpcap.h
index cfe23828d7..3c8079599c 100644
--- a/capture-wpcap.h
+++ b/capture-wpcap.h
@@ -6,7 +6,6 @@
* By Gerald Combs <gerald@wireshark.org>
* Copyright 2001 Gerald Combs
*
- *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
@@ -32,8 +31,11 @@ extern "C" {
extern gboolean has_wpcap;
-void
-load_wpcap(void);
+extern void load_wpcap(void);
+
+/* error message, if WinPcap couldn't be loaded */
+/* will use g_strdup, don't forget to g_free the returned string! */
+extern char *cant_load_winpcap_err(const char *app_name);
#ifdef __cplusplus
}