http.c File Reference

Go to the source code of this file.

Classes

struct  HTTPContext

Functions

static int http_connect (URLContext *h, const char *path, const char *hoststr, const char *auth, int *new_location)
static int http_write (URLContext *h, uint8_t *buf, int size)
static int http_open_cnx (URLContext *h)
static int http_open (URLContext *h, const char *uri, int flags)
static int http_getc (HTTPContext *s)
static int process_line (URLContext *h, char *line, int line_count, int *new_location)
static int http_read (URLContext *h, uint8_t *buf, int size)
static int http_close (URLContext *h)
static offset_t http_seek (URLContext *h, offset_t off, int whence)

Variables

URLProtocol http_protocol


Function Documentation

static int http_connect ( URLContext h,
const char *  path,
const char *  hoststr,
const char *  auth,
int *  new_location 
) [static]

Definition at line 207 of file http.c.

Referenced by http_open_cnx().

static int http_write ( URLContext h,
uint8_t *  buf,
int  size 
) [static]

Definition at line 305 of file http.c.

Referenced by http_connect().

static int http_open_cnx ( URLContext h  )  [static]

Definition at line 53 of file http.c.

Referenced by http_open(), and http_seek().

static int http_open ( URLContext h,
const char *  uri,
int  flags 
) [static]

Definition at line 115 of file http.c.

static int http_getc ( HTTPContext s  )  [static]

Definition at line 136 of file http.c.

Referenced by http_connect().

static int process_line ( URLContext h,
char *  line,
int  line_count,
int *  new_location 
) [static]

Definition at line 153 of file http.c.

Referenced by http_connect().

static int http_read ( URLContext h,
uint8_t *  buf,
int  size 
) [static]

Definition at line 284 of file http.c.

static int http_close ( URLContext h  )  [static]

Definition at line 311 of file http.c.

static offset_t http_seek ( URLContext h,
offset_t  off,
int  whence 
) [static]

Definition at line 319 of file http.c.


Variable Documentation

Initial value:

Definition at line 348 of file http.c.


Generated on Sat Dec 18 05:15:53 2010 for MythTV by  doxygen 1.5.5