Follow up to rev 34073: Since "-b files:0" is no longer necessary to
[obnox/wireshark/wip.git] / capture_errs.h
index 4ed8d82e2086c78a468577cd72a861e2bc57ddd4..a9f2f51dde88420ecb31176fc8e5b2e76d3cc4ed 100644 (file)
@@ -4,8 +4,8 @@
  *
  * $Id$
  *
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@ethereal.com>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
  * Copyright 1998 Gerald Combs
  *
  * This program is free software; you can redistribute it and/or
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
-#ifdef HAVE_LIBPCAP
+#ifndef __CAPTURE_ERRS_H__
+#define __CAPTURE_ERRS_H__
 
 #ifdef _WIN32
-extern const char *cant_load_winpcap_err(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);
 #endif /* _WIN32 */
 
-#endif /* HAVE_LIBPCAP */
+#endif /* __CAPTURE_ERRS_H__ */