#ifndef ENABLE_HTTPD
# include <vlc_httpd.h>
-char *httpd_ClientIP (const httpd_client_t *cl, char *psz_ip)
+char *httpd_ClientIP (const httpd_client_t *cl, char *psz_ip, int *port)
{
- (void) cl; (void) psz_ip;
+ (void) cl; (void) psz_ip; (void) port;
assert (0);
}
assert (0);
}
-httpd_host_t *vlc_http_HostNew (vlc_object_t *obj, int port)
+httpd_host_t *vlc_http_HostNew (vlc_object_t *obj)
{
- (void) port;
msg_Err (obj, "HTTP server not compiled-in!");
return NULL;
}
-httpd_host_t *vlc_https_HostNew (vlc_object_t *obj, int port)
+httpd_host_t *vlc_https_HostNew (vlc_object_t *obj)
{
- return httpd_HostNew (obj, port);
+ msg_Err (obj, "HTTPS server not compiled-in!");
+ return NULL;
}
-httpd_host_t *vlc_rtsp_HostNew (vlc_object_t *obj, int port)
+httpd_host_t *vlc_rtsp_HostNew (vlc_object_t *obj)
{
- (void) port;
msg_Err (obj, "RTSP server not compiled-in!");
return NULL;
}
assert (0);
}
-char *httpd_ServerIP (const httpd_client_t *client, char *ip)
+char *httpd_ServerIP (const httpd_client_t *client, char *ip, int *port)
{
- (void) client; (void) ip;
+ (void) client; (void) ip; (void) port;
assert (0);
}