aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/systat/systat.h
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1997-09-24 02:43:45 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1997-09-24 02:43:45 +0000
commit03e00a72c68a5546196978ca2a460d8cf361dd44 (patch)
tree75b5a19caf62b6d475f7fb215e8080214c72f737 /usr.bin/systat/systat.h
parent1ed24bcde488937bd2b99a7caecc3f5f71ebb1d7 (diff)
downloadsrc-03e00a72c68a5546196978ca2a460d8cf361dd44.tar.gz
src-03e00a72c68a5546196978ca2a460d8cf361dd44.zip
Add a mode to display ICMP statistics.
Inspired by: IRIX netstat -C
Notes
Notes: svn path=/head/; revision=29759
Diffstat (limited to 'usr.bin/systat/systat.h')
-rw-r--r--usr.bin/systat/systat.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/usr.bin/systat/systat.h b/usr.bin/systat/systat.h
index 72f65ff64b46..72f0f284fdf8 100644
--- a/usr.bin/systat/systat.h
+++ b/usr.bin/systat/systat.h
@@ -30,20 +30,22 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)systat.h 8.1 (Berkeley) 6/6/93
+ * From: @(#)systat.h 8.1 (Berkeley) 6/6/93
+ * $Id$
*/
#include <curses.h>
struct cmdtab {
char *c_name; /* command name */
- void (*c_refresh)(); /* display refresh */
- void (*c_fetch)(); /* sets up data structures */
- void (*c_label)(); /* label display */
- int (*c_init)(); /* initialize namelist, etc. */
- WINDOW *(*c_open)(); /* open display */
- void (*c_close)(); /* close display */
- int (*c_cmd)(); /* display command interpreter */
+ void (*c_refresh)(void); /* display refresh */
+ void (*c_fetch)(void); /* sets up data structures */
+ void (*c_label)(void); /* label display */
+ int (*c_init)(void); /* initialize namelist, etc. */
+ WINDOW *(*c_open)(void); /* open display */
+ void (*c_close)(WINDOW *); /* close display */
+ int (*c_cmd)(char *, char *); /* display command interpreter */
+ void (*c_reset)(void); /* reset ``mode since'' display */
char c_flags; /* see below */
};