summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/privsep.h
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2004-01-31 15:13:03 +0000
committerotto <otto@openbsd.org>2004-01-31 15:13:03 +0000
commiteeebb1a8b5a4c0ffb51a34c3f4c242e20b2dbc69 (patch)
treef7bf71c025aa7d5bf3ed2ed0d3d22e14b9ba16f0 /usr.sbin/tcpdump/privsep.h
parentSwitch the arm compiler to generating strongarm code on openbsd. (diff)
downloadwireguard-openbsd-eeebb1a8b5a4c0ffb51a34c3f4c242e20b2dbc69.tar.xz
wireguard-openbsd-eeebb1a8b5a4c0ffb51a34c3f4c242e20b2dbc69.zip
general cleanup and better SIGCHLD handling from millert@
ok canacar@
Diffstat (limited to 'usr.sbin/tcpdump/privsep.h')
-rw-r--r--usr.sbin/tcpdump/privsep.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/tcpdump/privsep.h b/usr.sbin/tcpdump/privsep.h
index 07b4fb5b1f5..756c1500127 100644
--- a/usr.sbin/tcpdump/privsep.h
+++ b/usr.sbin/tcpdump/privsep.h
@@ -64,15 +64,14 @@ void priv_getserventries(void);
/* Retrieve a single service entry, should be called repeatedly after
calling priv_getserventries() until it returns zero */
-size_t priv_getserventry(char *name, size_t name_len, int *port, char *prot,
- size_t prot_len);
+size_t priv_getserventry(char *, size_t, int *, char *, size_t);
/* Start getting ip protocol entries */
void priv_getprotoentries(void);
/* Retrieve a single protocol entry, should be called repeatedly after
calling priv_getprotoentries() until it returns zero */
-size_t priv_getprotoentry(char *name, size_t name_len, int *num);
+size_t priv_getprotoentry(char *, size_t, int *);
/* Start getting lines from a file */
void priv_getlines(size_t);
@@ -94,7 +93,7 @@ void must_write(int, const void *, size_t);
size_t read_block(int, char *, size_t, const char *);
size_t read_string(int, char *, size_t, const char *);
void write_block(int, size_t, const char *);
-void write_command(int fd, int cmd);
+void write_command(int, int);
void write_string(int, const char *);
void write_zero(int);