gwenhywfar  4.3.3
Macros | Functions
httpsession.c File Reference
#include "httpsession_p.h"
#include "i18n_l.h"
#include <gwenhywfar/syncio.h>
#include <gwenhywfar/syncio_tls.h>
#include <gwenhywfar/syncio_http.h>
#include <gwenhywfar/syncio_file.h>
#include <gwenhywfar/misc.h>
#include <gwenhywfar/debug.h>
#include <gwenhywfar/gui.h>
#include <assert.h>
#include <unistd.h>

Go to the source code of this file.

Macros

#define DISABLE_DEBUGLOG

Functions

int GWEN_HttpSession__RecvPacket (GWEN_HTTP_SESSION *sess, GWEN_BUFFER *buf)
int GWEN_HttpSession__RecvPacketToSio (GWEN_HTTP_SESSION *sess, GWEN_SYNCIO *sio)
void GWEN_HttpSession_AddFlags (GWEN_HTTP_SESSION *sess, uint32_t fl)
void GWEN_HttpSession_Attach (GWEN_HTTP_SESSION *sess)
int GWEN_HttpSession_ConnectionTest (GWEN_HTTP_SESSION *sess)
int GWEN_HttpSession_Fini (GWEN_HTTP_SESSION *sess)
void GWEN_HttpSession_free (GWEN_HTTP_SESSION *sess)
uint32_t GWEN_HttpSession_GetFlags (const GWEN_HTTP_SESSION *sess)
const char * GWEN_HttpSession_GetHttpContentType (const GWEN_HTTP_SESSION *sess)
const char * GWEN_HttpSession_GetHttpUserAgent (const GWEN_HTTP_SESSION *sess)
int GWEN_HttpSession_GetHttpVMajor (const GWEN_HTTP_SESSION *sess)
int GWEN_HttpSession_GetHttpVMinor (const GWEN_HTTP_SESSION *sess)
int GWEN_HttpSession_Init (GWEN_HTTP_SESSION *sess)
GWEN_HTTP_SESSIONGWEN_HttpSession_new (const char *url, const char *defaultProto, int defaultPort)
int GWEN_HttpSession_RecvPacket (GWEN_HTTP_SESSION *sess, GWEN_BUFFER *buf)
int GWEN_HttpSession_RecvPacketToFile (GWEN_HTTP_SESSION *sess, const char *fname)
int GWEN_HttpSession_SendPacket (GWEN_HTTP_SESSION *sess, const char *httpCommand, const uint8_t *buf, uint32_t blen)
void GWEN_HttpSession_SetFlags (GWEN_HTTP_SESSION *sess, uint32_t fl)
void GWEN_HttpSession_SetHttpContentType (GWEN_HTTP_SESSION *sess, const char *s)
void GWEN_HttpSession_SetHttpUserAgent (GWEN_HTTP_SESSION *sess, const char *s)
void GWEN_HttpSession_SetHttpVMajor (GWEN_HTTP_SESSION *sess, int i)
void GWEN_HttpSession_SetHttpVMinor (GWEN_HTTP_SESSION *sess, int i)
void GWEN_HttpSession_SubFlags (GWEN_HTTP_SESSION *sess, uint32_t fl)

Macro Definition Documentation

#define DISABLE_DEBUGLOG

Definition at line 15 of file httpsession.c.

Function Documentation

int GWEN_HttpSession__RecvPacket ( GWEN_HTTP_SESSION sess,
GWEN_BUFFER buf 
)
int GWEN_HttpSession__RecvPacketToSio ( GWEN_HTTP_SESSION sess,
GWEN_SYNCIO sio 
)