From Harald Welte:
[obnox/wireshark/wip.git] / capture_sync.h
index 26a6b7afe452abbba83b0710c637cb5b88d77bd8..d38e2ddd77d6cdf95f045af2c845764903038936 100644 (file)
@@ -57,19 +57,16 @@ sync_pipe_stop(capture_options *capture_opts);
 extern void
 sync_pipe_kill(int fork_child);
 
-/** Has the parent signalled the child to stop? */
-#define SIGNAL_PIPE_CTRL_ID_NONE "none"
-#ifdef _WIN32
-#define SIGNAL_PIPE_FORMAT "\\\\.\\pipe\\wireshark.%s.signal"
-#endif
-
 /** Get an interface list using dumpcap */
 extern int
-sync_interface_list_open(gchar **msg);
+sync_interface_list_open(gchar **data, gchar **primary_msg,
+                         gchar **secondary_msg);
 
-/** Get a linktype list using dumpcap */
+/** Get interface capabilities using dumpcap */
 extern int
-sync_linktype_list_open(const gchar *ifname, gchar **msg);
+sync_if_capabilities_open(const gchar *ifname, gboolean monitor_mode,
+                          gchar **data, gchar **primary_msg,
+                          gchar **secondary_msg);
 
 /** Start getting interface statistics using dumpcap. */
 extern int