GME  13
Classes | Typedefs | Functions | Variables
BinHTTPURLInputStream.cpp File Reference

Go to the source code of this file.

Classes

class  SocketJanitor

Typedefs

typedef SOCKET(WSAAPI * LPFN_SOCKET )(int af, int type, int protocol)
typedef int(WSAAPI * LPFN_CONNECT )(SOCKET s, const struct sockaddr *name, int namelen)
typedef int(WSAAPI * LPFN_SEND )(SOCKET s, const char *buf, int len, int flags)
typedef int(WSAAPI * LPFN_RECV )(SOCKET s, char *buf, int len, int flags)
typedef int(WSAAPI * LPFN_SHUTDOWN )(SOCKET s, int how)
typedef int(WSAAPI * LPFN_CLOSESOCKET )(SOCKET s)
typedef int(WSAAPI * LPFN_WSACLEANUP )()
typedef int(WSAAPI * LPFN_WSASTARTUP )(WORD wVersionRequested, LPWSADATA lpWSAData)
typedef struct hostent *WSAAPI * LPFN_GETHOSTBYNAME (const char *name)
typedef struct hostent *WSAAPI * LPFN_GETHOSTBYADDR (const char *addr, int len, int type)
typedef unsigned long(WSAAPI * LPFN_INET_ADDR )(const char *cp)

Functions

XERCES_CPP_NAMESPACE_BEGIN typedef u_short (WSAAPI *LPFN_HTONS)(u_short hostshort)
static u_short wrap_htons (u_short hostshort)
static SOCKET wrap_socket (int af, int type, int protocol)
static int wrap_connect (SOCKET s, const struct sockaddr *name, int namelen)
static int wrap_send (SOCKET s, const char *buf, int len, int flags)
static int wrap_recv (SOCKET s, char *buf, int len, int flags)
static int wrap_shutdown (SOCKET s, int how)
static int wrap_closesocket (SOCKET socket)
static struct hostent * wrap_gethostbyname (const char *name)
static struct hostent * wrap_gethostbyaddr (const char *addr, int len, int type)
static unsigned long wrap_inet_addr (const char *cp)

Variables

static HMODULE gWinsockLib = NULL
static LPFN_HTONS gWShtons = NULL
static LPFN_SOCKET gWSsocket = NULL
static LPFN_CONNECT gWSconnect = NULL
static LPFN_SEND gWSsend = NULL
static LPFN_RECV gWSrecv = NULL
static LPFN_SHUTDOWN gWSshutdown = NULL
static LPFN_CLOSESOCKET gWSclosesocket = NULL
static LPFN_WSACLEANUP gWSACleanup = NULL
static LPFN_GETHOSTBYNAME gWSgethostbyname = NULL
static LPFN_GETHOSTBYADDR gWSgethostbyaddr = NULL
static LPFN_INET_ADDR gWSinet_addr = NULL

Typedef Documentation

typedef int(WSAAPI * LPFN_CLOSESOCKET)(SOCKET s)

Definition at line 49 of file BinHTTPURLInputStream.cpp.

typedef int(WSAAPI * LPFN_CONNECT)(SOCKET s, const struct sockaddr *name, int namelen)

Definition at line 45 of file BinHTTPURLInputStream.cpp.

typedef struct hostent* WSAAPI* LPFN_GETHOSTBYADDR(const char *addr, int len, int type)

Definition at line 57 of file BinHTTPURLInputStream.cpp.

typedef struct hostent* WSAAPI* LPFN_GETHOSTBYNAME(const char *name)

Definition at line 56 of file BinHTTPURLInputStream.cpp.

typedef unsigned long(WSAAPI * LPFN_INET_ADDR)(const char *cp)

Definition at line 58 of file BinHTTPURLInputStream.cpp.

typedef int(WSAAPI * LPFN_RECV)(SOCKET s, char *buf, int len, int flags)

Definition at line 47 of file BinHTTPURLInputStream.cpp.

typedef int(WSAAPI * LPFN_SEND)(SOCKET s, const char *buf, int len, int flags)

Definition at line 46 of file BinHTTPURLInputStream.cpp.

typedef int(WSAAPI * LPFN_SHUTDOWN)(SOCKET s, int how)

Definition at line 48 of file BinHTTPURLInputStream.cpp.

typedef SOCKET(WSAAPI * LPFN_SOCKET)(int af, int type, int protocol)

Definition at line 44 of file BinHTTPURLInputStream.cpp.

typedef int(WSAAPI * LPFN_WSACLEANUP)()

Definition at line 50 of file BinHTTPURLInputStream.cpp.

typedef int(WSAAPI * LPFN_WSASTARTUP)(WORD wVersionRequested, LPWSADATA lpWSAData)

Definition at line 51 of file BinHTTPURLInputStream.cpp.


Function Documentation

XERCES_CPP_NAMESPACE_BEGIN typedef u_short ( WSAAPI *  LPFN_HTONS)
static int wrap_closesocket ( SOCKET  socket) [static]

Definition at line 109 of file BinHTTPURLInputStream.cpp.

static int wrap_connect ( SOCKET  s,
const struct sockaddr name,
int  namelen 
) [static]

Definition at line 89 of file BinHTTPURLInputStream.cpp.

static struct hostent* wrap_gethostbyaddr ( const char *  addr,
int  len,
int  type 
) [static, read]

Definition at line 130 of file BinHTTPURLInputStream.cpp.

static struct hostent* wrap_gethostbyname ( const char *  name) [static, read]

Definition at line 125 of file BinHTTPURLInputStream.cpp.

static u_short wrap_htons ( u_short  hostshort) [static]

Definition at line 79 of file BinHTTPURLInputStream.cpp.

static unsigned long wrap_inet_addr ( const char *  cp) [static]

Definition at line 135 of file BinHTTPURLInputStream.cpp.

static int wrap_recv ( SOCKET  s,
char *  buf,
int  len,
int  flags 
) [static]

Definition at line 99 of file BinHTTPURLInputStream.cpp.

static int wrap_send ( SOCKET  s,
const char *  buf,
int  len,
int  flags 
) [static]

Definition at line 94 of file BinHTTPURLInputStream.cpp.

static int wrap_shutdown ( SOCKET  s,
int  how 
) [static]

Definition at line 104 of file BinHTTPURLInputStream.cpp.

static SOCKET wrap_socket ( int  af,
int  type,
int  protocol 
) [static]

Definition at line 84 of file BinHTTPURLInputStream.cpp.


Variable Documentation

HMODULE gWinsockLib = NULL [static]

Definition at line 61 of file BinHTTPURLInputStream.cpp.

LPFN_WSACLEANUP gWSACleanup = NULL [static]

Definition at line 69 of file BinHTTPURLInputStream.cpp.

Definition at line 68 of file BinHTTPURLInputStream.cpp.

LPFN_CONNECT gWSconnect = NULL [static]

Definition at line 64 of file BinHTTPURLInputStream.cpp.

Definition at line 75 of file BinHTTPURLInputStream.cpp.

Definition at line 74 of file BinHTTPURLInputStream.cpp.

LPFN_HTONS gWShtons = NULL [static]

Definition at line 62 of file BinHTTPURLInputStream.cpp.

LPFN_INET_ADDR gWSinet_addr = NULL [static]

Definition at line 76 of file BinHTTPURLInputStream.cpp.

LPFN_RECV gWSrecv = NULL [static]

Definition at line 66 of file BinHTTPURLInputStream.cpp.

LPFN_SEND gWSsend = NULL [static]

Definition at line 65 of file BinHTTPURLInputStream.cpp.

LPFN_SHUTDOWN gWSshutdown = NULL [static]

Definition at line 67 of file BinHTTPURLInputStream.cpp.

LPFN_SOCKET gWSsocket = NULL [static]

Definition at line 63 of file BinHTTPURLInputStream.cpp.