From 819b2e56f9962cc3f39ee40e2398d7d16fb6b917 Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Mon, 8 Dec 2003 22:10:42 +0000 Subject: [PATCH] Exporting symbols used in the imap extension --- win32/sendmail.c | 6 +++--- win32/sendmail.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/win32/sendmail.c b/win32/sendmail.c index ce60a8789d3..98659d4db48 100644 --- a/win32/sendmail.c +++ b/win32/sendmail.c @@ -218,7 +218,7 @@ static char *php_win32_mail_trim_header(char *header TSRMLS_DC) // // See SendText() for additional args! //********************************************************************/ -int TSendMail(char *host, int *error, char **error_message, +PHPAPI int TSendMail(char *host, int *error, char **error_message, char *headers, char *Subject, char *mailTo, char *data, char *mailCc, char *mailBcc, char *mailRPath) { @@ -323,7 +323,7 @@ int TSendMail(char *host, int *error, char **error_message, // Author/Date: jcar 20/9/96 // History: //********************************************************************/ -void TSMClose() +PHPAPI void TSMClose() { Post("QUIT\r\n"); Ack(NULL); @@ -352,7 +352,7 @@ void TSMClose() // Author/Date: jcar 20/9/96 // History: //*******************************************************************/ -char *GetSMErrorText(int index) +PHPAPI char *GetSMErrorText(int index) { if (MIN_ERROR_INDEX <= index && index < MAX_ERROR_INDEX) { return (ErrorMessages[index]); diff --git a/win32/sendmail.h b/win32/sendmail.h index 384bb4bd000..3f3539e24c4 100644 --- a/win32/sendmail.h +++ b/win32/sendmail.h @@ -34,13 +34,13 @@ #define MAX_ERROR_INDEX 22 /* Always last error message + 1 */ -int TSendMail(char *smtpaddr, int *returnerror, char **error_message, +PHPAPI int TSendMail(char *smtpaddr, int *returnerror, char **error_message, char *RPath, char *Subject, char *mailTo, char *data, char *mailCc, char *mailBcc, char *mailRPath); -void TSMClose(void); +PHPAPI void TSMClose(void); int SendText(char *RPath, char *Subject, char *mailTo, char *mailCc, char *mailBcc, char *data, char *headers, char *headers_lc, char **error_message); -char *GetSMErrorText(int index); +PHPAPI char *GetSMErrorText(int index); int MailConnect(); int PostHeader(char *, char *, char *, char *);