/* answer */
HTTPD_MSG_ANSWER,
- /* channel communication */
- HTTPD_MSG_CHANNEL,
-
/* http request */
HTTPD_MSG_GET,
HTTPD_MSG_HEAD,
and POST(body) through the same code */
uint8_t *psz_args;
- /* for rtp over rtsp */
- int i_channel;
-
/* options */
int i_name;
char **name;
};
/* create a new host */
-VLC_API httpd_host_t * httpd_HostNew( vlc_object_t *, const char *psz_host, int i_port ) VLC_USED;
-VLC_API httpd_host_t * httpd_TLSHostNew( vlc_object_t *, const char *, int, const char *, const char *, const char *, const char * ) VLC_USED;
+VLC_API httpd_host_t *vlc_http_HostNew( vlc_object_t * ) VLC_USED;
+VLC_API httpd_host_t *vlc_https_HostNew( vlc_object_t * ) VLC_USED;
+VLC_API httpd_host_t *vlc_rtsp_HostNew( vlc_object_t * ) VLC_USED;
/* delete a host */
VLC_API void httpd_HostDelete( httpd_host_t * );
/* delete a url */
VLC_API void httpd_UrlDelete( httpd_url_t * );
-/* Default client mode is FILE, use these to change it */
-VLC_API void httpd_ClientModeStream( httpd_client_t *cl );
-VLC_API void httpd_ClientModeBidir( httpd_client_t *cl );
-VLC_API char* httpd_ClientIP( const httpd_client_t *cl, char *psz_ip );
-VLC_API char* httpd_ServerIP( const httpd_client_t *cl, char *psz_ip );
+VLC_API char* httpd_ClientIP( const httpd_client_t *cl, char *, int * );
+VLC_API char* httpd_ServerIP( const httpd_client_t *cl, char *, int * );
/* High level */