summaryrefslogtreecommitdiff
path: root/win32/sendmail.h
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2003-01-03 15:17:43 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2003-01-03 15:17:43 +0000
commita53ff6ff5497cd371fc047af19cf455bc2a2bacf (patch)
treef7781dae2f4190be4c635272a76900a392412a3d /win32/sendmail.h
parent830298beb8de78f1571975a4521b86e45eb414c1 (diff)
downloadphp-git-a53ff6ff5497cd371fc047af19cf455bc2a2bacf.tar.gz
NetWare related changes/modifications.
Diffstat (limited to 'win32/sendmail.h')
-rw-r--r--win32/sendmail.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/win32/sendmail.h b/win32/sendmail.h
index 751b9d6b34..384bb4bd00 100644
--- a/win32/sendmail.h
+++ b/win32/sendmail.h
@@ -1,6 +1,8 @@
#if !defined(sendmail_h) /* Sentry, use file only if it's not already included. */
#define sendmail_h
+#ifndef NETWARE
#include <windows.h>
+#endif
#define HOST_NAME_LEN 256
#define MAX_APPNAME_LENGHT 100
@@ -42,9 +44,17 @@ char *GetSMErrorText(int index);
int MailConnect();
int PostHeader(char *, char *, char *, char *);
-int Post(LPCSTR);
+#ifndef NETWARE
+int Post(LPCSTR msg);
+#else
+int Post(char *msg);
+#endif
int Ack(char **server_response);
+#ifndef NETWARE
unsigned long GetAddr(LPSTR szHost);
+#else
+unsigned long GetAddr(char * szHost);
+#endif