summaryrefslogtreecommitdiff
path: root/capture_sync.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-05-17 18:40:23 +0000
committerGuy Harris <guy@alum.mit.edu>2010-05-17 18:40:23 +0000
commit991c5e9898d057f6b7d2f41397f460931ef5ff83 (patch)
tree95c2cc5755ba14006af226237a6f07eebd5f7e2c /capture_sync.h
parent01c752e5efd10bdc5ca280d5e03dd19be466d9cb (diff)
downloadwireshark-991c5e9898d057f6b7d2f41397f460931ef5ff83.tar.gz
When dumpcap is run to get an interface list, interface capabilities, or
interface statistics, have its error messages come out as sync-pipe errors, have it send a sync-pipe "success" message on success, and have the callers get that message and display it. svn path=/trunk/; revision=32843
Diffstat (limited to 'capture_sync.h')
-rw-r--r--capture_sync.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/capture_sync.h b/capture_sync.h
index 826c20d12d..ff1bd31ab4 100644
--- a/capture_sync.h
+++ b/capture_sync.h
@@ -65,12 +65,14 @@ sync_pipe_kill(int fork_child);
/** 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 interface capabilities using dumpcap */
extern int
sync_if_capabilities_open(const gchar *ifname, gboolean monitor_mode,
- gchar **msg);
+ gchar **data, gchar **primary_msg,
+ gchar **secondary_msg);
/** Start getting interface statistics using dumpcap. */
extern int