NetWare related changes/modifications.

This commit is contained in:
Anantha Kesari H Y 2003-01-03 15:17:43 +00:00
parent 830298beb8
commit a53ff6ff54
2 changed files with 46 additions and 1 deletions

View file

@ -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