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,
size_t *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:193
const char name[16]
Definition httpd.c:1298
int i_type
Definition httpd.c:1299
const char * psz_mime
Definition image.c:620
httpd_handler_callback_t pf_fill
Definition httpd.c:425
Definition vlc_httpd.h:81
httpd_client_t * cl
Definition vlc_httpd.h:82
httpd_header * p_headers
Definition vlc_httpd.h:99
int64_t i_body_offset
Definition vlc_httpd.h:102
uint8_t i_version
Definition vlc_httpd.h:86
size_t i_body
Definition vlc_httpd.h:103
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:53
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:920
struct httpd_file_sys_t httpd_file_sys_t
Definition vlc_httpd.h:124
void * httpd_HandlerDelete(httpd_handler_t *)
Definition httpd.c:543
int httpd_StreamSetHTTPHeaders(httpd_stream_t *, const httpd_header *, size_t)
Definition httpd.c:2092
void httpd_UrlDelete(httpd_url_t *)
Definition httpd.c:1144
void httpd_StreamDelete(httpd_stream_t *)
Definition httpd.c:897
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, size_t *pi_data)
Definition vlc_httpd.h:131
httpd_url_t * httpd_UrlNew(httpd_host_t *, const char *psz_url, const char *psz_user, const char *psz_password)
Definition httpd.c:1072
char * httpd_ClientIP(const httpd_client_t *cl, char *, int *)
Definition httpd.c:1238
char * httpd_ServerIP(const httpd_client_t *cl, char *, int *)
Definition httpd.c:1243
int(* httpd_file_callback_t)(httpd_file_sys_t *, httpd_file_t *, uint8_t *psz_request, uint8_t **pp_data, size_t *pi_data)
Definition vlc_httpd.h:125
void httpd_MsgAdd(httpd_message_t *, const char *psz_name, const char *psz_value,...)
Definition httpd.c:1210
httpd_file_sys_t * httpd_FileDelete(httpd_file_t *)
Definition httpd.c:409
@ 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
int httpd_StreamHeader(httpd_stream_t *, uint8_t *p_data, int i_data)
Definition httpd.c:842
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:374
@ 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_RedirectDelete(httpd_redirect_t *)
Definition httpd.c:618
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:514
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:949
void httpd_HostDelete(httpd_host_t *)
Definition httpd.c:1040
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:782
httpd_host_t * vlc_https_HostNew(vlc_object_t *)
Definition httpd.c:925
int httpd_UrlCatch(httpd_url_t *, int i_msg, httpd_callback_t, httpd_callback_sys_t *)
Definition httpd.c:1132
const char * httpd_MsgGet(const httpd_message_t *, const char *psz_name)
Definition httpd.c:1202
httpd_redirect_t * httpd_RedirectNew(httpd_host_t *, const char *psz_url_dst, const char *psz_url_src)
Definition httpd.c:590
int httpd_StreamSend(httpd_stream_t *, const block_t *p_block)
Definition httpd.c:876
char psz_value[8]
Definition vout_intf.c:102