fmk Mon Dec 8 17:10:45 2003 EDT
Modified files:
/php-src/win32 sendmail.c sendmail.h
Log:
Exporting symbols used in the imap extension
Index: php-src/win32/sendmail.c
diff -u php-src/win32/sendmail.c:1.58 php-src/win32/sendmail.c:1.59
--- php-src/win32/sendmail.c:1.58 Mon Sep 8 18:36:59 2003
+++ php-src/win32/sendmail.c Mon Dec 8 17:10:42 2003
@@ -17,7 +17,7 @@
*
*/
-/* $Id: sendmail.c,v 1.58 2003/09/08 22:36:59 iliaa Exp $ */
+/* $Id: sendmail.c,v 1.59 2003/12/08 22:10:42 fmk Exp $ */
#include "php.h" /*php specific */
#include <stdio.h>
@@ -218,7 +218,7 @@
//
// 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 @@
// Author/Date: jcar 20/9/96
// History:
//********************************************************************/
-void TSMClose()
+PHPAPI void TSMClose()
{
Post("QUIT\r\n");
Ack(NULL);
@@ -352,7 +352,7 @@
// 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]);
Index: php-src/win32/sendmail.h
diff -u php-src/win32/sendmail.h:1.12 php-src/win32/sendmail.h:1.13
--- php-src/win32/sendmail.h:1.12 Fri Jan 3 10:17:43 2003
+++ php-src/win32/sendmail.h Mon Dec 8 17:10:42 2003
@@ -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 *);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php