vlc_httpd.h File Reference

Include dependency graph for vlc_httpd.h:

Go to the source code of this file.

Data Structures

struct  httpd_message_t

Defines

#define VLC_HTTPD_H   1

Enumerations

enum  {
  HTTPD_MSG_NONE, HTTPD_MSG_ANSWER, HTTPD_MSG_CHANNEL, HTTPD_MSG_GET,
  HTTPD_MSG_HEAD, HTTPD_MSG_POST, HTTPD_MSG_OPTIONS, HTTPD_MSG_DESCRIBE,
  HTTPD_MSG_SETUP, HTTPD_MSG_PLAY, HTTPD_MSG_PAUSE, HTTPD_MSG_GETPARAMETER,
  HTTPD_MSG_TEARDOWN, HTTPD_MSG_MAX
}
enum  { HTTPD_PROTO_NONE, HTTPD_PROTO_HTTP, HTTPD_PROTO_RTSP, HTTPD_PROTO_HTTP0 }

Functions

httpd_host_thttpd_HostNew (vlc_object_t *, const char *psz_host, int i_port)
httpd_host_thttpd_TLSHostNew (vlc_object_t *, const char *, int, const char *, const char *, const char *, const char *)
void httpd_HostDelete (httpd_host_t *)
httpd_url_thttpd_UrlNew (httpd_host_t *, const char *psz_url, const char *psz_user, const char *psz_password, const vlc_acl_t *p_acl)
httpd_url_thttpd_UrlNewUnique (httpd_host_t *, const char *psz_url, const char *psz_user, const char *psz_password, const vlc_acl_t *p_acl)
int httpd_UrlCatch (httpd_url_t *, int i_msg, httpd_callback_t, httpd_callback_sys_t *)
void httpd_UrlDelete (httpd_url_t *)
void httpd_ClientModeStream (httpd_client_t *cl)
void httpd_ClientModeBidir (httpd_client_t *cl)
char * httpd_ClientIP (const httpd_client_t *cl, char *psz_ip)
char * httpd_ServerIP (const httpd_client_t *cl, char *psz_ip)
httpd_file_thttpd_FileNew (httpd_host_t *, const char *psz_url, const char *psz_mime, const char *psz_user, const char *psz_password, const vlc_acl_t *p_acl, httpd_file_callback_t pf_fill, httpd_file_sys_t *)
httpd_file_sys_thttpd_FileDelete (httpd_file_t *)
httpd_handler_thttpd_HandlerNew (httpd_host_t *, const char *psz_url, const char *psz_user, const char *psz_password, const vlc_acl_t *p_acl, httpd_handler_callback_t pf_fill, httpd_handler_sys_t *)
httpd_handler_sys_thttpd_HandlerDelete (httpd_handler_t *)
httpd_redirect_thttpd_RedirectNew (httpd_host_t *, const char *psz_url_dst, const char *psz_url_src)
void httpd_RedirectDelete (httpd_redirect_t *)
httpd_stream_thttpd_StreamNew (httpd_host_t *, const char *psz_url, const char *psz_mime, const char *psz_user, const char *psz_password, const vlc_acl_t *p_acl)
void httpd_StreamDelete (httpd_stream_t *)
int httpd_StreamHeader (httpd_stream_t *, uint8_t *p_data, int i_data)
int httpd_StreamSend (httpd_stream_t *, uint8_t *p_data, int i_data)
void httpd_MsgInit (httpd_message_t *)
void httpd_MsgAdd (httpd_message_t *, const char *psz_name, const char *psz_value,...)
const char * httpd_MsgGet (const httpd_message_t *, const char *psz_name)
void httpd_MsgClean (httpd_message_t *)


Define Documentation

#define VLC_HTTPD_H   1


Enumeration Type Documentation

anonymous enum

Enumerator:
HTTPD_MSG_NONE 
HTTPD_MSG_ANSWER 
HTTPD_MSG_CHANNEL 
HTTPD_MSG_GET 
HTTPD_MSG_HEAD 
HTTPD_MSG_POST 
HTTPD_MSG_OPTIONS 
HTTPD_MSG_DESCRIBE 
HTTPD_MSG_SETUP 
HTTPD_MSG_PLAY 
HTTPD_MSG_PAUSE 
HTTPD_MSG_GETPARAMETER 
HTTPD_MSG_TEARDOWN 
HTTPD_MSG_MAX 

anonymous enum

Enumerator:
HTTPD_PROTO_NONE 
HTTPD_PROTO_HTTP 
HTTPD_PROTO_RTSP 
HTTPD_PROTO_HTTP0 


Function Documentation

char* httpd_ClientIP ( const httpd_client_t cl,
char *  psz_ip 
)

void httpd_ClientModeBidir ( httpd_client_t cl  ) 

void httpd_ClientModeStream ( httpd_client_t cl  ) 

httpd_file_sys_t* httpd_FileDelete ( httpd_file_t  ) 

httpd_file_t* httpd_FileNew ( httpd_host_t ,
const char *  psz_url,
const char *  psz_mime,
const char *  psz_user,
const char *  psz_password,
const vlc_acl_t p_acl,
httpd_file_callback_t  pf_fill,
httpd_file_sys_t  
)

httpd_handler_sys_t* httpd_HandlerDelete ( httpd_handler_t  ) 

httpd_handler_t* httpd_HandlerNew ( httpd_host_t ,
const char *  psz_url,
const char *  psz_user,
const char *  psz_password,
const vlc_acl_t p_acl,
httpd_handler_callback_t  pf_fill,
httpd_handler_sys_t  
)

void httpd_HostDelete ( httpd_host_t  ) 

httpd_host_t* httpd_HostNew ( vlc_object_t ,
const char *  psz_host,
int  i_port 
)

void httpd_MsgAdd ( httpd_message_t ,
const char *  psz_name,
const char *  psz_value,
  ... 
)

void httpd_MsgClean ( httpd_message_t  ) 

const char* httpd_MsgGet ( const httpd_message_t ,
const char *  psz_name 
)

void httpd_MsgInit ( httpd_message_t  ) 

void httpd_RedirectDelete ( httpd_redirect_t  ) 

httpd_redirect_t* httpd_RedirectNew ( httpd_host_t ,
const char *  psz_url_dst,
const char *  psz_url_src 
)

char* httpd_ServerIP ( const httpd_client_t cl,
char *  psz_ip 
)

void httpd_StreamDelete ( httpd_stream_t  ) 

int httpd_StreamHeader ( httpd_stream_t ,
uint8_t *  p_data,
int  i_data 
)

httpd_stream_t* httpd_StreamNew ( httpd_host_t ,
const char *  psz_url,
const char *  psz_mime,
const char *  psz_user,
const char *  psz_password,
const vlc_acl_t p_acl 
)

int httpd_StreamSend ( httpd_stream_t ,
uint8_t *  p_data,
int  i_data 
)

httpd_host_t* httpd_TLSHostNew ( vlc_object_t ,
const char *  ,
int  ,
const char *  ,
const char *  ,
const char *  ,
const char *   
)

int httpd_UrlCatch ( httpd_url_t ,
int  i_msg,
httpd_callback_t  ,
httpd_callback_sys_t  
)

void httpd_UrlDelete ( httpd_url_t  ) 

httpd_url_t* httpd_UrlNew ( httpd_host_t ,
const char *  psz_url,
const char *  psz_user,
const char *  psz_password,
const vlc_acl_t p_acl 
)

httpd_url_t* httpd_UrlNewUnique ( httpd_host_t ,
const char *  psz_url,
const char *  psz_user,
const char *  psz_password,
const vlc_acl_t p_acl 
)


Generated on Wed Aug 13 08:02:43 2008 for VLC by  doxygen 1.5.1