aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-12-30 18:27:14 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-12-30 18:27:14 +0000
commit28b12aba4ad1b56c1acfea4e20c1a81b91221d45 (patch)
treea9f7706d3dc84c6157ec5226e9a9d4306fcc36e1 /fetchmail.h
parentff4d046f39e3ed641bc5d9925f61d48010c56bfb (diff)
downloadfetchmail-28b12aba4ad1b56c1acfea4e20c1a81b91221d45.tar.gz
fetchmail-28b12aba4ad1b56c1acfea4e20c1a81b91221d45.tar.bz2
fetchmail-28b12aba4ad1b56c1acfea4e20c1a81b91221d45.zip
Dave Bodenstab's error changes.
svn path=/trunk/; revision=705
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fetchmail.h b/fetchmail.h
index 994bc690..905bc211 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -138,6 +138,7 @@ extern int yydebug; /* enable parse debugging */
extern int poll_interval; /* poll interval in seconds */
extern int nodetach; /* if TRUE, don't detach daemon process */
extern char *logfile; /* log file for daemon mode */
+extern int use_syslog; /* if --syslog was set */
extern int quitmode; /* if --quit was set */
extern int check_only; /* if --check was set */
extern int cmd_batchlimit; /* if --batchlimit was set */
@@ -164,15 +165,20 @@ extern int smtp_response; /* numeric value of SMTP response code */
/* prototypes for globally callable functions */
#if defined(HAVE_STDARG_H)
void error (int status, int errnum, const char *format, ...);
+void error_build (const char *format, ...);
+void error_complete (int status, int errnum, const char *format, ...);
void gen_send (FILE *sockfp, char *, ... );
int gen_transact (FILE *sockfp, char *, ... );
#else
void error ();
+void error_build ();
+void error_complete ();
void gen_send ();
int gen_transact ();
#endif
void *xmalloc(int);
+void *xrealloc(void *, int);
char *xstrdup(const char *);
int do_protocol(struct query *, const struct method *);