cvs: php-src(PHP_4_4) /netware sendmail_nw.h
| From: | Anantha Kesari H Y | Date: | Thu, 28 Jul 2005 09:25:30 +0000 |
| Subject: | cvs: php-src(PHP_4_4) /netware sendmail_nw.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-33103@lists.php.net to get a copy of this message | ||
hyanantha Thu Jul 28 05:25:30 2005 EDT
Added files: (Branch: PHP_4_4)
/php-src/netware sendmail_nw.h
Log:
Adding this file from 5_0 tree
-- Kamesh
http://cvs.php.net/co.php/php-src/netware/sendmail_nw.h?r=1.1&p=1
Index: php-src/netware/sendmail_nw.h
+++ php-src/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 */