mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Exporting symbols used in the imap extension
This commit is contained in:
parent
3c0eb788fa
commit
819b2e56f9
@ -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]);
|
||||
|
@ -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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user