httpsession.c File Reference

#include "httpsession_p.h"
#include "i18n_l.h"
#include <gwenhywfar/io_socket.h>
#include <gwenhywfar/io_tls.h>
#include <gwenhywfar/io_http.h>
#include <gwenhywfar/io_buffered.h>
#include <gwenhywfar/iomanager.h>
#include <gwenhywfar/misc.h>
#include <gwenhywfar/debug.h>
#include <gwenhywfar/gui.h>
#include <assert.h>
Include dependency graph for httpsession.c:

Go to the source code of this file.

Functions

int GWEN_HttpSession__RecvPacket (GWEN_HTTP_SESSION *sess, GWEN_BUFFER *buf, GWEN_UNUSED int timeout)
int GWEN_HttpSession__SetAddress (GWEN_HTTP_SESSION *sess, GWEN_INETADDRESS *addr, const char *peerAddr)
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)
uint32_t GWEN_HttpSession_GetGuiId (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)
GWEN_IO_LAYERGWEN_HttpSession_GetIoLayer (const GWEN_HTTP_SESSION *sess)
int GWEN_HttpSession_Init (GWEN_HTTP_SESSION *sess)
GWEN_HTTP_SESSIONGWEN_HttpSession_new (const char *url, uint32_t guiid)
int GWEN_HttpSession_RecvPacket (GWEN_HTTP_SESSION *sess, GWEN_BUFFER *buf, int timeout)
int GWEN_HttpSession_SendPacket (GWEN_HTTP_SESSION *sess, const char *httpCommand, const uint8_t *buf, uint32_t blen, int timeout)
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)

Function Documentation

int GWEN_HttpSession__RecvPacket ( GWEN_HTTP_SESSION sess,
GWEN_BUFFER buf,
GWEN_UNUSED int  timeout 
)
int GWEN_HttpSession__SetAddress ( GWEN_HTTP_SESSION sess,
GWEN_INETADDRESS addr,
const char *  peerAddr 
)

Definition at line 218 of file httpsession.c.

References DBG_ERROR, DBG_ERROR_ERR, DBG_INFO, GWEN_Gui_ProgressLog(), GWEN_InetAddr_GetAddress(), GWEN_InetAddr_SetAddress(), GWEN_InetAddr_SetName(), GWEN_LOGDOMAIN, GWEN_LoggerLevel_Error, GWEN_LoggerLevel_Notice, and I18N.

Referenced by GWEN_HttpSession_Init().

Here is the call graph for this function:

Here is the caller graph for this function:

Generated on Mon Jul 5 22:55:05 2010 for gwenhywfar by  doxygen 1.6.3