aboutsummaryrefslogtreecommitdiffstats
path: root/smtp.h
diff options
context:
space:
mode:
Diffstat (limited to 'smtp.h')
-rw-r--r--smtp.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/smtp.h b/smtp.h
index 3dc874ff..b65196a7 100644
--- a/smtp.h
+++ b/smtp.h
@@ -25,16 +25,15 @@
extern time_t last_smtp_ok;
-void SMTP_setmode(char);
-int SMTP_helo(int socket,const char *host);
-int SMTP_ehlo(int socket,const char *host, char *name, char *passwd, int *opt);
-int SMTP_from(int socket,const char *from,const char *opts);
-int SMTP_rcpt(int socket,const 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);
+int SMTP_helo(int socket, char smtp_mode, const char *host);
+int SMTP_ehlo(int socket, char smtp_mode, const char *host, char *name, char *passwd, int *opt);
+int SMTP_from(int socket, char smtp_mode, const char *from,const char *opts);
+int SMTP_rcpt(int socket, char smtp_mode, const char *to);
+int SMTP_data(int socket, char smtp_mode);
+int SMTP_eom(int socket, char smtp_mode);
+int SMTP_rset(int socket, char smtp_mode);
+int SMTP_quit(int socket, char smtp_mode);
+int SMTP_ok(int socket, char smtp_mode);
extern char smtp_response[MSGBUFSIZE];