On Windows, if "get_interface_list()" returns CANT_GET_INTERFACE_LIST
[obnox/wireshark/wip.git] / pcap-util.h
index 638454840d11ad59320be01666482fee8b6866d9..56bdc2cae3ed2c4b4a44cfac6ec2b78f96a3ff6e 100644 (file)
@@ -1,7 +1,7 @@
 /* pcap-util.h
  * Utility definitions for packet capture
  *
- * $Id: pcap-util.h,v 1.6 2003/11/01 02:30:14 guy Exp $
+ * $Id: pcap-util.h,v 1.7 2004/06/12 07:47:13 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -60,6 +60,12 @@ GList *get_interface_list(int *err, char *err_str);
 
 void free_interface_list(GList *if_list);
 
+/*
+ * Get an error message string for a CANT_GET_INTERFACE_LIST error from
+ * "get_interface_list()".
+ */
+gchar *cant_get_if_list_error_message(const char *err_str);
+
 /*
  * The list of data link types returned by "get_pcap_linktype_list()" is
  * a list of these structures.