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 */

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to