FTEQW
Documentation of the FTE engine source tree.
httpclient.c File Reference

Typedefs

typedef struct cookie_s cookie_t
 

Functions

vfsfile_tFSWEB_OpenTempHandle (int f)
 
qboolean DL_Decide (struct dl_download *dl)
 
void Cookie_Feed (char *domain, int secure, char *name, char *value)
 
void Cookie_Monster (void)
 
void Cookie_Parse (char *domain, int secure, char *line, char *end)
 
void Cookie_Regurgitate (char *domain, int secure, char *buffer, size_t buffersize)
 
void HTTP_Cleanup (struct dl_download *dl)
 
void HTTPDL_Establish (struct dl_download *dl)
 
qboolean HTTPDL_Poll (struct dl_download *dl)
 
qboolean DL_CreateThread (struct dl_download *dl, vfsfile_t *file, void(*NotifyFunction)(struct dl_download *dl))
 
struct dl_downloadDL_Create (const char *url)
 
void DL_Close (struct dl_download *dl)
 
void DL_DeThread (void)
 
unsigned int HTTP_CL_GetActiveDownloads (void)
 
struct dl_downloadHTTP_CL_Get (const char *url, const char *localfile, void(*NotifyFunction)(struct dl_download *dl))
 
struct dl_downloadHTTP_CL_Put (const char *url, const char *mime, const char *data, size_t datalen, void(*NotifyFunction)(struct dl_download *dl))
 
void HTTP_CL_Think (const char **curname, float *curpercent)
 
void HTTP_CL_Terminate (void)
 
vfsfile_tVFS_OpenPipeInternal (int refs, qboolean seekable, void(*callback)(void *ctx, vfsfile_t *file), void *ctx)
 
vfsfile_tVFS_OpenPipeCallback (void(*callback)(void *ctx, vfsfile_t *file), void *ctx)
 
vfsfile_tVFSPIPE_Open (int refs, qboolean seekable)
 

Variables

cookie_tcookies
 

Typedef Documentation

◆ cookie_t

typedef struct cookie_s cookie_t

Function Documentation

◆ Cookie_Feed()

void Cookie_Feed ( char *  domain,
int  secure,
char *  name,
char *  value 
)

◆ Cookie_Monster()

void Cookie_Monster ( void  )

◆ Cookie_Parse()

void Cookie_Parse ( char *  domain,
int  secure,
char *  line,
char *  end 
)

◆ Cookie_Regurgitate()

void Cookie_Regurgitate ( char *  domain,
int  secure,
char *  buffer,
size_t  buffersize 
)

◆ DL_Close()

void DL_Close ( struct dl_download dl)

◆ DL_Create()

struct dl_download * DL_Create ( const char *  url)

◆ DL_CreateThread()

qboolean DL_CreateThread ( struct dl_download dl,
vfsfile_t file,
void(*)(struct dl_download *dl)  NotifyFunction 
)

◆ DL_Decide()

qboolean DL_Decide ( struct dl_download dl)

◆ DL_DeThread()

void DL_DeThread ( void  )

◆ FSWEB_OpenTempHandle()

vfsfile_t * FSWEB_OpenTempHandle ( int  f)

◆ HTTP_CL_Get()

struct dl_download * HTTP_CL_Get ( const char *  url,
const char *  localfile,
void(*)(struct dl_download *dl)  NotifyFunction 
)

◆ HTTP_CL_GetActiveDownloads()

unsigned int HTTP_CL_GetActiveDownloads ( void  )

◆ HTTP_CL_Put()

struct dl_download * HTTP_CL_Put ( const char *  url,
const char *  mime,
const char *  data,
size_t  datalen,
void(*)(struct dl_download *dl)  NotifyFunction 
)

◆ HTTP_CL_Terminate()

void HTTP_CL_Terminate ( void  )

◆ HTTP_CL_Think()

void HTTP_CL_Think ( const char **  curname,
float *  curpercent 
)

◆ HTTP_Cleanup()

void HTTP_Cleanup ( struct dl_download dl)

◆ HTTPDL_Establish()

void HTTPDL_Establish ( struct dl_download dl)

◆ HTTPDL_Poll()

qboolean HTTPDL_Poll ( struct dl_download dl)

◆ VFS_OpenPipeCallback()

vfsfile_t * VFS_OpenPipeCallback ( void(*)(void *ctx, vfsfile_t *file callback,
void ctx 
)

◆ VFS_OpenPipeInternal()

vfsfile_t * VFS_OpenPipeInternal ( int  refs,
qboolean  seekable,
void(*)(void *ctx, vfsfile_t *file callback,
void ctx 
)

◆ VFSPIPE_Open()

vfsfile_t * VFSPIPE_Open ( int  refs,
qboolean  seekable 
)

Variable Documentation

◆ cookies

cookie_t* cookies