File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
netware /
sendmail_nw.h
Revision
1.1.1.1 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue Feb 21 23:48:05 2012 UTC (13 years ago) by
misho
Branches:
php,
MAIN
CVS tags:
v5_4_3elwix,
v5_4_29p0,
v5_4_29,
v5_4_20p0,
v5_4_20,
v5_4_17p0,
v5_4_17,
v5_3_10,
HEAD
php
#define closesocket close
#define LPCSTR char *
#define LPSTR char*
#define FAR
#ifdef USE_WINSOCK
#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 */
#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 */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>