cvs: php4 /netware sendmail_nw.h
| From: | Anantha Kesari H Y | Date: | Fri, 03 Jan 2003 11:12:40 +0000 |
| Subject: | cvs: php4 /netware sendmail_nw.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17561@lists.php.net to get a copy of this message | ||
hyanantha Fri Jan 3 06:12:40 2003 EDT
Added files:
/php4/netware sendmail_nw.h
Log:
New file added for NetWare.
Index: php4/netware/sendmail_nw.h
+++ php4/netware/sendmail_nw.h
#ifdef USE_WINSOCK
/*#include <ws2nlm.h>*/
#include <novsock2.h>
#else
#include <sys/socket.h> /* For struct sockaddr, 'PF_INET' and 'AF_INET' */
#include <netinet\in.h> /* For struct sockaddr_in */
#include <netdb.h> /* For struct hostent */
/*#include <ws2name.h>*/
#endif /* USE_WINSOCK */
typedef int SOCKET; /* Borrowed from winsock\novsock2.h */
typedef struct sockaddr_in SOCKADDR_IN;
typedef struct sockaddr * LPSOCKADDR;
typedef struct hostent * LPHOSTENT;
#define INVALID_SOCKET (SOCKET)(~0) /* Borrowed from winsock\novsock2.h */