aboutsummaryrefslogtreecommitdiffstats
path: root/smtp.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-31 06:47:56 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-31 06:47:56 +0000
commitf9f66749c22dcb49ed96d9aa43c4979d7b27742f (patch)
tree70aff56756cf718d1efe897d88ed33443e079b9e /smtp.h
parenta2278043c64feb80565c1a6bf6456c687f5a5923 (diff)
downloadfetchmail-f9f66749c22dcb49ed96d9aa43c4979d7b27742f.tar.gz
fetchmail-f9f66749c22dcb49ed96d9aa43c4979d7b27742f.tar.bz2
fetchmail-f9f66749c22dcb49ed96d9aa43c4979d7b27742f.zip
STEP 4: Make SMTP functions take file pointer arguments.
svn path=/trunk/; revision=447
Diffstat (limited to 'smtp.h')
-rw-r--r--smtp.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/smtp.h b/smtp.h
index 939ebfdc..dfc96c66 100644
--- a/smtp.h
+++ b/smtp.h
@@ -15,14 +15,14 @@
#define SM_UNRECOVERABLE 129
#ifdef HAVE_PROTOTYPES
-int SMTP_helo(int socket,char *host);
-int SMTP_from(int socket,char *from);
-int SMTP_rcpt(int socket,char *to);
-int SMTP_data(int socket);
-int SMTP_eom(int socket);
-int SMTP_quit(int socket);
-int SMTP_ok(int socket,char *argbuf);
-void SMTP_rset(int socket);
+int SMTP_helo(FILE *sockfp,char *host);
+int SMTP_from(FILE *sockfp,char *from);
+int SMTP_rcpt(FILE *sockfp,char *to);
+int SMTP_data(FILE *sockfp);
+int SMTP_eom(FILE *sockfp);
+int SMTP_quit(FILE *sockfp);
+int SMTP_ok(FILE *sockfp,char *argbuf);
+void SMTP_rset(FILE *sockfp);
#endif /* HAVE_PROTOTYPES */
#endif