X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmissing.c;h=6a6ec19aa5981161189534916a14755c23b303e3;hb=487b7594aadd2aac678fe8c75607738f43aba6aa;hp=3bfb41ff336cc7517c5f5d63ab96b2b0ee795735;hpb=3a1efde26b05fb3471c527e56fd49db3b1503446;p=vlc diff --git a/src/missing.c b/src/missing.c index 3bfb41ff33..6a6ec19aa5 100644 --- a/src/missing.c +++ b/src/missing.c @@ -32,9 +32,9 @@ #ifndef ENABLE_HTTPD # include -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); } @@ -93,9 +93,22 @@ void httpd_HostDelete (httpd_host_t *h) assert (0); } -httpd_host_t *httpd_HostNew (vlc_object_t *obj, const char *host, int port) +httpd_host_t *vlc_http_HostNew (vlc_object_t *obj) { - return httpd_TLSHostNew (obj, host, port, NULL, NULL, NULL, NULL); + msg_Err (obj, "HTTP server not compiled-in!"); + return NULL; +} + +httpd_host_t *vlc_https_HostNew (vlc_object_t *obj) +{ + msg_Err (obj, "HTTPS server not compiled-in!"); + return NULL; +} + +httpd_host_t *vlc_rtsp_HostNew (vlc_object_t *obj) +{ + msg_Err (obj, "RTSP server not compiled-in!"); + return NULL; } void httpd_MsgAdd (httpd_message_t *m, const char *name, const char *fmt, ...) @@ -123,9 +136,9 @@ httpd_redirect_t *httpd_RedirectNew (httpd_host_t *host, 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); } @@ -157,16 +170,6 @@ int httpd_StreamSend (httpd_stream_t *stream, uint8_t *data, int count) assert (0); } -httpd_host_t *httpd_TLSHostNew (vlc_object_t *obj, const char *host, int port, - const char *cert, const char *key, - const char *ca, const char *crl) -{ - (void) host; (void) port; - (void) cert; (void) key; (void) ca; (void) crl; - msg_Err (obj, "VLC httpd support not compiled-in!"); - return NULL; -} - int httpd_UrlCatch (httpd_url_t *url, int request, httpd_callback_t cb, httpd_callback_sys_t *data) { @@ -313,12 +316,6 @@ sout_stream_t *sout_StreamChainNew (sout_instance_t *p_sout, char *psz_chain, assert (0); } -void sout_UpdateStatistic (sout_instance_t *instance, sout_statistic_t stat, - int value) -{ - assert (0); -} - char *vlc_sdp_Start (vlc_object_t *obj, const char *cfg, const struct sockaddr *src, size_t srclen, const struct sockaddr *addr, size_t addrlen)