130typedef int (*
httpd_handler_callback_t)(
void *,
httpd_handler_t *,
char *psz_url, uint8_t *psz_request,
int i_type, uint8_t *p_in,
int i_in,
char *psz_remote_addr,
char *psz_remote_host, uint8_t **pp_data,
int *pi_data );
#define VLC_USED
Definition: fourcc_gen.c:32
#define VLC_API
Definition: fourcc_gen.c:31
#define VLC_FORMAT(x, y)
String format function annotation.
Definition: vlc_common.h:204
const char name[16]
Definition: httpd.c:1281
int i_type
Definition: httpd.c:1282
const char * psz_mime
Definition: image.c:640
httpd_handler_callback_t pf_fill
Definition: httpd.c:408
Definition: vlc_httpd.h:81
httpd_client_t * cl
Definition: vlc_httpd.h:82
httpd_header * p_headers
Definition: vlc_httpd.h:99
int i_body
Definition: vlc_httpd.h:103
int64_t i_body_offset
Definition: vlc_httpd.h:102
uint8_t i_version
Definition: vlc_httpd.h:86
uint8_t i_type
Definition: vlc_httpd.h:84
int i_status
Definition: vlc_httpd.h:89
uint8_t i_proto
Definition: vlc_httpd.h:85
char * psz_url
Definition: vlc_httpd.h:92
uint8_t * psz_args
Definition: vlc_httpd.h:95
uint8_t * p_body
Definition: vlc_httpd.h:104
size_t i_headers
Definition: vlc_httpd.h:98
Definition: vlc_frame.h:123
VLC object common members.
Definition: vlc_objects.h:45
const char * psz_name
Definition: text_style.c:33
This file is a collection of common definitions and types.
int(* httpd_callback_t)(httpd_callback_sys_t *, httpd_client_t *, httpd_message_t *answer, const httpd_message_t *query)
Definition: vlc_httpd.h:110
httpd_host_t * vlc_http_HostNew(vlc_object_t *)
Definition: httpd.c:903
struct httpd_message_t httpd_message_t
struct httpd_file_sys_t httpd_file_sys_t
Definition: vlc_httpd.h:124
@ HTTPD_MSG_HEAD
Definition: vlc_httpd.h:41
@ HTTPD_MSG_GETPARAMETER
Definition: vlc_httpd.h:50
@ HTTPD_MSG_NONE
Definition: vlc_httpd.h:34
@ HTTPD_MSG_PAUSE
Definition: vlc_httpd.h:49
@ HTTPD_MSG_PLAY
Definition: vlc_httpd.h:48
@ HTTPD_MSG_ANSWER
Definition: vlc_httpd.h:37
@ HTTPD_MSG_SETUP
Definition: vlc_httpd.h:47
@ HTTPD_MSG_MAX
Definition: vlc_httpd.h:54
@ HTTPD_MSG_DESCRIBE
Definition: vlc_httpd.h:46
@ HTTPD_MSG_TEARDOWN
Definition: vlc_httpd.h:51
@ HTTPD_MSG_GET
Definition: vlc_httpd.h:40
@ HTTPD_MSG_POST
Definition: vlc_httpd.h:42
@ HTTPD_MSG_OPTIONS
Definition: vlc_httpd.h:45
void * httpd_HandlerDelete(httpd_handler_t *)
Definition: httpd.c:526
int httpd_StreamSetHTTPHeaders(httpd_stream_t *, const httpd_header *, size_t)
Definition: httpd.c:2080
@ HTTPD_PROTO_NONE
Definition: vlc_httpd.h:59
@ HTTPD_PROTO_HTTP0
Definition: vlc_httpd.h:62
@ HTTPD_PROTO_HTTP
Definition: vlc_httpd.h:60
@ HTTPD_PROTO_RTSP
Definition: vlc_httpd.h:61
void httpd_UrlDelete(httpd_url_t *)
Definition: httpd.c:1127
void httpd_StreamDelete(httpd_stream_t *)
Definition: httpd.c:880
httpd_url_t * httpd_UrlNew(httpd_host_t *, const char *psz_url, const char *psz_user, const char *psz_password)
Definition: httpd.c:1055
char * httpd_ClientIP(const httpd_client_t *cl, char *, int *)
Definition: httpd.c:1221
char * httpd_ServerIP(const httpd_client_t *cl, char *, int *)
Definition: httpd.c:1226
void httpd_MsgAdd(httpd_message_t *, const char *psz_name, const char *psz_value,...)
Definition: httpd.c:1193
httpd_file_sys_t * httpd_FileDelete(httpd_file_t *)
Definition: httpd.c:392
int httpd_StreamHeader(httpd_stream_t *, uint8_t *p_data, int i_data)
Definition: httpd.c:825
httpd_file_t * httpd_FileNew(httpd_host_t *, const char *psz_url, const char *psz_mime, const char *psz_user, const char *psz_password, httpd_file_callback_t pf_fill, httpd_file_sys_t *)
Definition: httpd.c:357
void httpd_RedirectDelete(httpd_redirect_t *)
Definition: httpd.c:601
httpd_handler_t * httpd_HandlerNew(httpd_host_t *, const char *psz_url, const char *psz_user, const char *psz_password, httpd_handler_callback_t pf_fill, void *)
Definition: httpd.c:497
struct httpd_callback_sys_t httpd_callback_sys_t
Definition: vlc_httpd.h:109
httpd_host_t * vlc_rtsp_HostNew(vlc_object_t *)
Definition: httpd.c:932
void httpd_HostDelete(httpd_host_t *)
Definition: httpd.c:1023
httpd_stream_t * httpd_StreamNew(httpd_host_t *, const char *psz_url, const char *psz_mime, const char *psz_user, const char *psz_password)
Definition: httpd.c:765
httpd_host_t * vlc_https_HostNew(vlc_object_t *)
Definition: httpd.c:908
int httpd_UrlCatch(httpd_url_t *, int i_msg, httpd_callback_t, httpd_callback_sys_t *)
Definition: httpd.c:1115
int(* httpd_file_callback_t)(httpd_file_sys_t *, httpd_file_t *, uint8_t *psz_request, uint8_t **pp_data, int *pi_data)
Definition: vlc_httpd.h:125
const char * httpd_MsgGet(const httpd_message_t *, const char *psz_name)
Definition: httpd.c:1185
httpd_redirect_t * httpd_RedirectNew(httpd_host_t *, const char *psz_url_dst, const char *psz_url_src)
Definition: httpd.c:573
int httpd_StreamSend(httpd_stream_t *, const block_t *p_block)
Definition: httpd.c:859
int(* httpd_handler_callback_t)(void *, httpd_handler_t *, char *psz_url, uint8_t *psz_request, int i_type, uint8_t *p_in, int i_in, char *psz_remote_addr, char *psz_remote_host, uint8_t **pp_data, int *pi_data)
Definition: vlc_httpd.h:131
char psz_value[8]
Definition: vout_intf.c:99