diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-28 01:05:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-28 01:05:22 +0000 |
commit | 256601ea87bb157c4490638d7ef467734c1ac70d (patch) | |
tree | b094be3b2c7e2c3a733a989b22b6c0bd6db91f98 /libexec | |
parent | 3512ee77af78d0db771415cdde68b6f92504be06 (diff) |
missing protos
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ftp-proxy/ftp-proxy.c | 11 | ||||
-rw-r--r-- | libexec/ftp-proxy/getline.c | 4 | ||||
-rw-r--r-- | libexec/ftp-proxy/util.c | 4 | ||||
-rw-r--r-- | libexec/identd/Makefile | 4 | ||||
-rw-r--r-- | libexec/identd/identd.c | 5 | ||||
-rw-r--r-- | libexec/identd/parse.c | 3 |
6 files changed, 22 insertions, 9 deletions
diff --git a/libexec/ftp-proxy/ftp-proxy.c b/libexec/ftp-proxy/ftp-proxy.c index 99a213c081d..054fe819f7a 100644 --- a/libexec/ftp-proxy/ftp-proxy.c +++ b/libexec/ftp-proxy/ftp-proxy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ftp-proxy.c,v 1.30 2003/06/23 17:22:29 deraadt Exp $ */ +/* $OpenBSD: ftp-proxy.c,v 1.31 2003/06/28 01:04:57 deraadt Exp $ */ /* * Copyright (c) 1996-2001 @@ -160,8 +160,13 @@ typedef enum { connection_mode_t connection_mode; -extern void debuglog(int debug_level, const char *fmt, ...); - +extern void debuglog(int debug_level, const char *fmt, ...); +double wallclock_time(void); +void show_xfer_stats(void); +void log_control_command (char *cmd, int client); +int new_dataconn(int server); +void do_client_cmd(struct csiob *client, struct csiob *server); +void do_server_reply(struct csiob *server, struct csiob *client); static void usage(void) { diff --git a/libexec/ftp-proxy/getline.c b/libexec/ftp-proxy/getline.c index 161685e27b8..2be38834002 100644 --- a/libexec/ftp-proxy/getline.c +++ b/libexec/ftp-proxy/getline.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getline.c,v 1.14 2003/06/02 19:38:24 millert Exp $ */ +/* $OpenBSD: getline.c,v 1.15 2003/06/28 01:04:57 deraadt Exp $ */ /* * Copyright (c) 1985, 1988 Regents of the University of California. @@ -47,6 +47,8 @@ #include "util.h" +int refill_buffer(struct csiob *iobp); + /* * Refill the io buffer if we KNOW that data is available * diff --git a/libexec/ftp-proxy/util.c b/libexec/ftp-proxy/util.c index fcf94e8e0c3..3c8b20eab91 100644 --- a/libexec/ftp-proxy/util.c +++ b/libexec/ftp-proxy/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.15 2003/04/27 12:47:03 tdeval Exp $ */ +/* $OpenBSD: util.c,v 1.16 2003/06/28 01:04:57 deraadt Exp $ */ /* * Copyright (c) 1996-2001 @@ -59,6 +59,8 @@ int Debug_Level; int Use_Rdns; +void debuglog(int debug_level, const char *fmt, ...); + void debuglog(int debug_level, const char *fmt, ...) { diff --git a/libexec/identd/Makefile b/libexec/identd/Makefile index 567619b509b..7ee1e633b43 100644 --- a/libexec/identd/Makefile +++ b/libexec/identd/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.7 2002/07/16 10:16:10 deraadt Exp $ +# $OpenBSD: Makefile,v 1.8 2003/06/28 01:05:21 deraadt Exp $ PROG= identd SRCS= identd.c openbsd.c parse.c MAN= identd.8 -CFLAGS+= -Wall -Werror +CFLAGS+= -Wall .include <bsd.prog.mk> diff --git a/libexec/identd/identd.c b/libexec/identd/identd.c index e897b2f478a..2dc91594ac2 100644 --- a/libexec/identd/identd.c +++ b/libexec/identd/identd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: identd.c,v 1.34 2003/06/07 18:31:17 henning Exp $ */ +/* $OpenBSD: identd.c,v 1.35 2003/06/28 01:05:21 deraadt Exp $ */ /* * This program is in the public domain and may be used freely by anyone @@ -57,6 +57,9 @@ char *charset_name = ""; static pid_t child_pid; +void usage(void); +char * gethost(struct sockaddr_storage *ss); + void usage(void) { diff --git a/libexec/identd/parse.c b/libexec/identd/parse.c index f205cc05d52..e0293d51838 100644 --- a/libexec/identd/parse.c +++ b/libexec/identd/parse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.c,v 1.36 2002/11/25 11:08:18 mpech Exp $ */ +/* $OpenBSD: parse.c,v 1.37 2003/06/28 01:05:21 deraadt Exp $ */ /* * This program is in the public domain and may be used freely by anyone @@ -32,6 +32,7 @@ int check_noident(char *); ssize_t timed_read(int, void *, size_t, time_t); ssize_t timed_write(int, const void *, size_t, time_t); +int getuserident(char *homedir, char *buf, int len); void gentoken(char *, int); /* |