Exporting symbols used in the imap extension

This commit is contained in:
Frank M. Kromann 2003-12-08 22:10:42 +00:00
parent 3c0eb788fa
commit 819b2e56f9
2 changed files with 6 additions and 6 deletions

View File

@ -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]);

View File

@ -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 *);