summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2003-12-08 22:10:42 +0000
committerFrank M. Kromann <fmk@php.net>2003-12-08 22:10:42 +0000
commit819b2e56f9962cc3f39ee40e2398d7d16fb6b917 (patch)
tree20e773d3c190014b9a0b6da4f6c744ea61b2188c
parent3c0eb788fa009cf32073f758034f2c95eeccd869 (diff)
downloadphp-git-819b2e56f9962cc3f39ee40e2398d7d16fb6b917.tar.gz
Exporting symbols used in the imap extension
-rw-r--r--win32/sendmail.c6
-rw-r--r--win32/sendmail.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/win32/sendmail.c b/win32/sendmail.c
index ce60a8789d..98659d4db4 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 384bb4bd00..3f3539e24c 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 *);