FTEQW
Documentation of the FTE engine source tree.
dl_download Struct Reference

#include <iweb.h>

Public Types

enum  {
  DL_PENDING , DL_FAILED , DL_RESOLVING , DL_QUERY ,
  DL_ACTIVE , DL_FINISHED
}
 

Public Attributes

unsigned int user_num
 
float user_float
 
voiduser_ctx
 
int user_sequence
 
qboolean isquery
 
qdownload_t qdownload
 
char * url
 
char redir [MAX_OSPATH]
 
unsigned int redircount
 
char localname [MAX_OSPATH]
 
enum fs_relative fsroot
 
struct vfsfile_sfile
 
char postmimetype [64]
 
char * postdata
 
size_t postlen
 
enum dl_download:: { ... }  status
 
unsigned int replycode
 
size_t totalsize
 
size_t completed
 
size_t sizelimit
 
qboolean threadenable
 
voidthreadctx
 
voidctx
 
void(* abort )(struct dl_download *)
 
qboolean(* poll )(struct dl_download *)
 
struct dl_downloadnext
 
qboolean(* notifystarted )(struct dl_download *dl, char *mimetype)
 
void(* notifycomplete )(struct dl_download *dl)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
DL_PENDING 
DL_FAILED 
DL_RESOLVING 
DL_QUERY 
DL_ACTIVE 
DL_FINISHED 

Member Data Documentation

◆ abort

void(* dl_download::abort) (struct dl_download *)

◆ completed

size_t dl_download::completed

◆ ctx

void* dl_download::ctx

◆ file

struct vfsfile_s* dl_download::file

◆ fsroot

enum fs_relative dl_download::fsroot

◆ isquery

qboolean dl_download::isquery

◆ localname

char dl_download::localname[MAX_OSPATH]

◆ next

struct dl_download* dl_download::next

◆ notifycomplete

void(* dl_download::notifycomplete) (struct dl_download *dl)

◆ notifystarted

qboolean(* dl_download::notifystarted) (struct dl_download *dl, char *mimetype)

◆ poll

qboolean(* dl_download::poll) (struct dl_download *)

◆ postdata

char* dl_download::postdata

◆ postlen

size_t dl_download::postlen

◆ postmimetype

char dl_download::postmimetype[64]

◆ qdownload

qdownload_t dl_download::qdownload

◆ redir

char dl_download::redir[MAX_OSPATH]

◆ redircount

unsigned int dl_download::redircount

◆ replycode

unsigned int dl_download::replycode

◆ sizelimit

size_t dl_download::sizelimit

◆ 

enum { ... } dl_download::status

◆ threadctx

void* dl_download::threadctx

◆ threadenable

qboolean dl_download::threadenable

◆ totalsize

size_t dl_download::totalsize

◆ url

char* dl_download::url

◆ user_ctx

void* dl_download::user_ctx

◆ user_float

float dl_download::user_float

◆ user_num

unsigned int dl_download::user_num

◆ user_sequence

int dl_download::user_sequence

The documentation for this struct was generated from the following file: