FS2_Open
Open source remastering of the Freespace 2 engine
|
#include <chttpget.h>
Public Member Functions | |
ChttpGet (char *URL, char *localfile) | |
ChttpGet (char *URL, char *localfile, char *proxyip, unsigned short proxyport) | |
~ChttpGet () | |
void | GetFile (char *URL, char *localfile) |
int | GetStatus () |
uint | GetBytesIn () |
uint | GetTotalBytes () |
void | AbortGet () |
void | WorkerThread () |
Public Attributes | |
bool | m_Aborted |
Protected Member Functions | |
int | ConnectSocket () |
char * | GetHTTPLine () |
uint | ReadDataChannel () |
Protected Attributes | |
uint | m_iBytesIn |
uint | m_iBytesTotal |
uint | m_State |
bool | m_ProxyEnabled |
char * | m_ProxyIP |
char | m_URL [MAX_URL_LEN] |
ushort | m_ProxyPort |
char | m_szUserName [100] |
char | m_szPassword [100] |
char | m_szHost [200] |
char | m_szDir [200] |
char | m_szFilename [100] |
bool | m_Aborting |
SOCKET | m_DataSock |
FILE * | LOCALFILE |
char | recv_buffer [1000] |
Definition at line 32 of file chttpget.h.
ChttpGet::ChttpGet | ( | char * | URL, |
char * | localfile | ||
) |
Definition at line 92 of file chttpget.cpp.
ChttpGet::ChttpGet | ( | char * | URL, |
char * | localfile, | ||
char * | proxyip, | ||
unsigned short | proxyport | ||
) |
Definition at line 84 of file chttpget.cpp.
ChttpGet::~ChttpGet | ( | ) |
Definition at line 191 of file chttpget.cpp.
void ChttpGet::AbortGet | ( | ) |
Definition at line 70 of file chttpget.cpp.
|
protected |
Definition at line 317 of file chttpget.cpp.
unsigned int ChttpGet::GetBytesIn | ( | ) |
Definition at line 213 of file chttpget.cpp.
void ChttpGet::GetFile | ( | char * | URL, |
char * | localfile | ||
) |
Definition at line 99 of file chttpget.cpp.
|
protected |
Definition at line 462 of file chttpget.cpp.
int ChttpGet::GetStatus | ( | ) |
Definition at line 208 of file chttpget.cpp.
unsigned int ChttpGet::GetTotalBytes | ( | ) |
Definition at line 218 of file chttpget.cpp.
|
protected |
Definition at line 534 of file chttpget.cpp.
void ChttpGet::WorkerThread | ( | ) |
Definition at line 224 of file chttpget.cpp.
|
protected |
Definition at line 69 of file chttpget.h.
bool ChttpGet::m_Aborted |
Definition at line 44 of file chttpget.h.
|
protected |
Definition at line 64 of file chttpget.h.
|
protected |
Definition at line 67 of file chttpget.h.
|
protected |
Definition at line 50 of file chttpget.h.
|
protected |
Definition at line 51 of file chttpget.h.
|
protected |
Definition at line 53 of file chttpget.h.
|
protected |
Definition at line 54 of file chttpget.h.
|
protected |
Definition at line 56 of file chttpget.h.
|
protected |
Definition at line 52 of file chttpget.h.
|
protected |
Definition at line 61 of file chttpget.h.
|
protected |
Definition at line 62 of file chttpget.h.
|
protected |
Definition at line 60 of file chttpget.h.
|
protected |
Definition at line 59 of file chttpget.h.
|
protected |
Definition at line 58 of file chttpget.h.
|
protected |
Definition at line 55 of file chttpget.h.
|
protected |
Definition at line 70 of file chttpget.h.