X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Faccess%2Fdvb%2Fhttp.c;h=8074273465e20fc79eda1f2b6e5c220a1d8390da;hb=36f0edc98752f8afa17a50cb8de086b30ba54c2e;hp=f3cb63925c8b0823949ce65cfd6bcdfaa8cd5071;hpb=449fd28aaf007c6411251dae9d0dbfdc65b135d1;p=vlc diff --git a/modules/access/dvb/http.c b/modules/access/dvb/http.c index f3cb63925c..8074273465 100644 --- a/modules/access/dvb/http.c +++ b/modules/access/dvb/http.c @@ -28,7 +28,7 @@ # include "config.h" #endif -#include +#include #include #ifdef HAVE_UNISTD_H @@ -79,7 +79,7 @@ static int HttpCallback( httpd_file_sys_t *p_args, /***************************************************************************** * HTTPOpen: Start the internal HTTP server *****************************************************************************/ -int E_(HTTPOpen)( access_t *p_access ) +int HTTPOpen( access_t *p_access ) { access_sys_t *p_sys = p_access->p_sys; char *psz_address, *psz_cert = NULL, *psz_key = NULL, @@ -90,7 +90,7 @@ int E_(HTTPOpen)( access_t *p_access ) vlc_acl_t *p_acl = NULL; httpd_file_sys_t *f; - vlc_mutex_init( p_access, &p_sys->httpd_mutex ); + vlc_mutex_init( &p_sys->httpd_mutex ); vlc_cond_init( p_access, &p_sys->httpd_cond ); p_sys->b_request_frontend_info = p_sys->b_request_mmi_info = false; p_sys->i_httpd_timeout = 0; @@ -194,7 +194,7 @@ int E_(HTTPOpen)( access_t *p_access ) /***************************************************************************** * HTTPClose: Stop the internal HTTP server *****************************************************************************/ -void E_(HTTPClose)( access_t *p_access ) +void HTTPClose( access_t *p_access ) { access_sys_t *p_sys = p_access->p_sys; @@ -255,7 +255,7 @@ static int HttpCallback( httpd_file_sys_t *p_args, vlc_mutex_lock( &p_sys->httpd_mutex ); - p_sys->i_httpd_timeout = mdate() + I64C(3000000); /* 3 s */ + p_sys->i_httpd_timeout = mdate() + INT64_C(3000000); /* 3 s */ p_sys->psz_request = psz_request; p_sys->b_request_frontend_info = true; if ( p_sys->i_ca_handle ) @@ -295,7 +295,7 @@ static int HttpCallback( httpd_file_sys_t *p_args, /**************************************************************************** * HTTPExtractValue: Extract a GET variable from psz_request ****************************************************************************/ -char *E_(HTTPExtractValue)( char *psz_uri, const char *psz_name, +char *HTTPExtractValue( char *psz_uri, const char *psz_name, char *psz_value, int i_value_max ) { char *p = psz_uri;