summaryrefslogtreecommitdiff
path: root/capture_combo_utils.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-07-23 23:36:50 +0000
committerGuy Harris <guy@alum.mit.edu>2004-07-23 23:36:50 +0000
commitf16fff888c6a4a4645672a38e4b6ac02189c9a44 (patch)
tree8d3b4b086d39413027d93c41a5ee355bfd8be44c /capture_combo_utils.h
parent2d21f054ef960c0e4ded23444ad122745c9bac28 (diff)
downloadwireshark-f16fff888c6a4a4645672a38e4b6ac02189c9a44.tar.gz
"capture_combo_utils.{c,h}" don't use any GTK+ stuff, so move them to
the top-level directory. svn path=/trunk/; revision=11494
Diffstat (limited to 'capture_combo_utils.h')
-rw-r--r--capture_combo_utils.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/capture_combo_utils.h b/capture_combo_utils.h
new file mode 100644
index 0000000000..d87ceead1f
--- /dev/null
+++ b/capture_combo_utils.h
@@ -0,0 +1,45 @@
+/* capture_combo_utils.c
+ * Declarations of tilities for combo box of interface names
+ *
+ * $Id$
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@ethereal.com>
+ * Copyright 1998 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
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __CAPTURE_COMBO_UTILS_H__
+#define __CAPTURE_COMBO_UTILS_H__
+
+/** @file
+ * GList of available capture interfaces.
+ */
+
+/** Build the GList of available capture interfaces.
+ *
+ * @param if_list the interface list from get_interface_list()
+ * @param do_hide hide the "hidden" interfaces
+ */
+GList *build_capture_combo_list(GList *if_list, gboolean do_hide);
+
+/** Free the GList from build_capture_combo_list().
+ *
+ * @param combo_list the interface list from build_capture_combo_list()
+ */
+void free_capture_combo_list(GList *combo_list);
+
+#endif