summaryrefslogtreecommitdiff
path: root/libexec/ftpd/monitor.h
diff options
context:
space:
mode:
authorMoritz Jodeit <moritz@cvs.openbsd.org>2005-07-14 14:48:48 +0000
committerMoritz Jodeit <moritz@cvs.openbsd.org>2005-07-14 14:48:48 +0000
commit28cfc2e4e3b35c093b61089422cf0347e7df0890 (patch)
tree2ee8d2c09004b443d3d6d34b5ef03a78cfdc0de1 /libexec/ftpd/monitor.h
parent360daa1c380cde584c12fbc861a2b4ebcda22f3a (diff)
let root create the data socket. fixes PR 4287.
ok millert@ henning@
Diffstat (limited to 'libexec/ftpd/monitor.h')
-rw-r--r--libexec/ftpd/monitor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/ftpd/monitor.h b/libexec/ftpd/monitor.h
index 42313ecbe1e..2c6012d4e1a 100644
--- a/libexec/ftpd/monitor.h
+++ b/libexec/ftpd/monitor.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: monitor.h,v 1.3 2004/12/20 14:58:57 moritz Exp $ */
+/* $OpenBSD: monitor.h,v 1.4 2005/07/14 14:48:47 moritz Exp $ */
/*
* Copyright (c) 2004 Moritz Jodeit <moritz@openbsd.org>
@@ -31,6 +31,7 @@ int monitor_init(void);
int monitor_post_auth(void);
void monitor_user(char *);
int monitor_pass(char *);
+int monitor_socket(int);
int monitor_bind(int, struct sockaddr *, socklen_t);
void kill_slave(void);