FS2_Open
Open source remastering of the Freespace 2 engine
chttpget.cpp File Reference
#include "globalincs/pstypes.h"
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/select.h>
#include <errno.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/ioctl.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include "inetfile/inetgetfile.h"
#include "inetfile/chttpget.h"

Go to the source code of this file.

Classes

struct  _async_dns_lookup
 

Macros

#define WSAGetLastError()   (errno)
 
#define NW_AGHBN_CANCEL   1
 
#define NW_AGHBN_LOOKUP   2
 
#define NW_AGHBN_READ   3
 

Typedefs

typedef struct _async_dns_lookup async_dns_lookup
 

Functions

int http_gethostbynameworker (void *parm)
 
int http_Asyncgethostbyname (unsigned int *ip, int command, char *hostname)
 
int HTTPObjThread (void *obj)
 

Variables

async_dns_lookup httpaslu
 
async_dns_lookuphttp_lastaslu = NULL
 

Macro Definition Documentation

#define NW_AGHBN_CANCEL   1

Definition at line 43 of file chttpget.cpp.

#define NW_AGHBN_LOOKUP   2

Definition at line 44 of file chttpget.cpp.

#define NW_AGHBN_READ   3

Definition at line 45 of file chttpget.cpp.

#define WSAGetLastError ( )    (errno)

Definition at line 29 of file chttpget.cpp.

Typedef Documentation

Function Documentation

int http_Asyncgethostbyname ( unsigned int ip,
int  command,
char *  hostname 
)

Definition at line 625 of file chttpget.cpp.

int http_gethostbynameworker ( void parm)

Definition at line 698 of file chttpget.cpp.

int HTTPObjThread ( void obj)

Definition at line 58 of file chttpget.cpp.

Variable Documentation

async_dns_lookup* http_lastaslu = NULL

Definition at line 617 of file chttpget.cpp.

async_dns_lookup httpaslu

Definition at line 616 of file chttpget.cpp.