1 /* Copyright 1996 by Eric S. Raymond
3 * For license terms, see the file COPYING in this directory.
6 /***********************************************************************
9 description: Prototypes for smtp handling code.
11 ***********************************************************************/
16 #define SMTPBUFSIZE 128
18 /* SMTP error values */
21 #define SM_UNRECOVERABLE 129
23 #ifdef HAVE_PROTOTYPES
24 int SMTP_helo(int socket,char *host);
25 int SMTP_from(int socket,char *from);
26 int SMTP_rcpt(int socket,char *to);
27 int SMTP_data(int socket);
28 int SMTP_eom(int socket);
29 int SMTP_quit(int socket);
30 int SMTP_ok(int socket,char *argbuf);
31 int SMTP_Gets(int socket,char *buf,int sz);
32 void SMTP_rset(int socket);
33 #endif /* HAVE_PROTOTYPES */