From 451d98c467f141e7802b91d26869b6e38ee868fc Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 13 May 1997 23:42:04 +0000 Subject: Change type of socket descriptors from FILE * to int. Change SockGets to SockRead a la read(2). This is all part of an attempt to deal with embedded NULs in IMAP messages. svn path=/trunk/; revision=992 --- smtp.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'smtp.h') diff --git a/smtp.h b/smtp.h index 44d47b4e..d4959ffe 100644 --- a/smtp.h +++ b/smtp.h @@ -19,15 +19,15 @@ #define ESMTP_SIZE 0x02 #define ESMTP_ETRN 0x04 -int SMTP_helo(FILE *sockfp,char *host); -int SMTP_ehlo(FILE *sockfp,char *host,int *opt); -int SMTP_from(FILE *sockfp,char *from,char *opts); -int SMTP_rcpt(FILE *sockfp,char *to); -int SMTP_data(FILE *sockfp); -int SMTP_eom(FILE *sockfp); -int SMTP_rset(FILE *sockfp); -int SMTP_quit(FILE *sockfp); -int SMTP_ok(FILE *sockfp); +int SMTP_helo(int socket,char *host); +int SMTP_ehlo(int socket,char *host,int *opt); +int SMTP_from(int socket,char *from,char *opts); +int SMTP_rcpt(int socket,char *to); +int SMTP_data(int socket); +int SMTP_eom(int socket); +int SMTP_rset(int socket); +int SMTP_quit(int socket); +int SMTP_ok(int socket); extern char smtp_response[MSGBUFSIZE]; -- cgit v1.2.3