]> git.sesse.net Git - vlc/blobdiff - include/vlc_httpd.h
win64: package npapi plugin
[vlc] / include / vlc_httpd.h
index 6e3c6f1995c443f083ad3fe8792151af40b9711f..fd8779f19a894c7d9016f65dd425b6534652ae2a 100644 (file)
@@ -36,9 +36,6 @@ enum
     /* answer */
     HTTPD_MSG_ANSWER,
 
-    /* channel communication */
-    HTTPD_MSG_CHANNEL,
-
     /* http request */
     HTTPD_MSG_GET,
     HTTPD_MSG_HEAD,
@@ -82,9 +79,6 @@ struct httpd_message_t
        and POST(body) through the same code */
     uint8_t *psz_args;
 
-    /* for rtp over rtsp */
-    int     i_channel;
-
     /* options */
     int     i_name;
     char    **name;
@@ -99,8 +93,9 @@ struct httpd_message_t
 };
 
 /* 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 * );
@@ -113,11 +108,8 @@ VLC_API int httpd_UrlCatch( httpd_url_t *, int i_msg, httpd_callback_t, httpd_ca
 /* 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 */