aboutsummaryrefslogtreecommitdiffstats
path: root/sync_pipe.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 /sync_pipe.h
parent01c752e5efd10bdc5ca280d5e03dd19be466d9cb (diff)
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 'sync_pipe.h')
-rw-r--r--sync_pipe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sync_pipe.h b/sync_pipe.h
index 5b1062f7ab..b5d80cb706 100644
--- a/sync_pipe.h
+++ b/sync_pipe.h
@@ -55,6 +55,7 @@
#define SP_BAD_FILTER 'B' /* error message for bad capture filter */
#define SP_PACKET_COUNT 'P' /* count of packets captured since last message */
#define SP_DROPS 'D' /* count of packets dropped in capture */
+#define SP_SUCCESS 'S' /* success indication, no extra data */
/*
* Win32 only: Indications sent out on the signal pipe (from parent to child)
* (UNIX-like sends signals for this)