diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-01-06 14:48:18 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-01-06 14:48:18 +0000 |
commit | 353d7ec386cc4443a2d86ba67b84e53d7dd6db1a (patch) | |
tree | c285de785c4e47d37652586ec25d304022ee757c /pop3d | |
parent | b50e8597ce5c9f00ed00610c112ec37365bb747f (diff) | |
download | mailutils-353d7ec386cc4443a2d86ba67b84e53d7dd6db1a.tar.gz mailutils-353d7ec386cc4443a2d86ba67b84e53d7dd6db1a.tar.bz2 |
(ifile,ofile): Removed declarations.
(getpwnam_ip_virtual,getpwnam_host_virtual): Removed prototypes.
(pop3d_setio, pop3d_flush_output, pop3d_is_master): New functions.
(pop3d_readline): Fixed prototype.
Diffstat (limited to 'pop3d')
-rw-r--r-- | pop3d/pop3d.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pop3d/pop3d.h b/pop3d/pop3d.h index 18f10eb5d..b22ecf4ff 100644 --- a/pop3d/pop3d.h +++ b/pop3d/pop3d.h @@ -22,6 +22,7 @@ # include <config.h> #endif #include <mu_dbm.h> +#include <mu_asprintf.h> /* The implementation */ #define IMPL "GNU POP3 Daemon" @@ -170,8 +171,6 @@ extern mailbox_t mbox; extern int state; extern char *username; extern char *maildir; -extern FILE *ifile; -extern FILE *ofile; extern char *md5shared; extern volatile size_t children; extern struct daemon_param daemon_param; @@ -189,7 +188,6 @@ extern int pop3d_list __P ((const char *)); extern int pop3d_lock __P ((void)); extern int pop3d_noop __P ((const char *)); extern int pop3d_quit __P ((const char *)); -extern char *pop3d_readline __P ((char *, int)); extern int pop3d_retr __P ((const char *)); extern int pop3d_rset __P ((const char *)); extern RETSIGTYPE pop3d_sigchld __P ((int)); @@ -202,6 +200,10 @@ extern int pop3d_user __P ((const char *)); extern int pop3d_unlock __P ((void)); extern void pop3d_outf __P ((const char *fmt, ...)); -extern struct passwd * getpwnam_ip_virtual __P ((const char *u)); -extern struct passwd * getpwnam_host_virtual __P ((const char *u)); +extern void pop3d_setio __P ((FILE *in, FILE *out)); +extern char *pop3d_readline __P ((char *, size_t)); +extern void pop3d_flush_output __P ((void)); + +extern int pop3d_is_master __P ((void)); + #endif /* _POP3D_H */ |