#endif
#include <vlc_common.h>
+#include <assert.h>
#ifndef ENABLE_HTTPD
# include <vlc_httpd.h>
char *httpd_ClientIP (const httpd_client_t *cl, char *psz_ip)
{
+ (void) cl; (void) psz_ip;
assert (0);
}
void httpd_ClientModeBidir (httpd_client_t *cl)
{
+ (void) cl;
assert (0);
}
void httpd_ClientModeStream (httpd_client_t *cl)
{
+ (void) cl;
assert (0);
}
httpd_file_sys_t *httpd_FileDelete (httpd_file_t *file)
{
+ (void) file;
assert (0);
}
const vlc_acl_t *acl,
httpd_file_callback_t cb, httpd_file_sys_t *data)
{
+ (void) host;
+ (void) url; (void) content_type;
+ (void) login; (void) password; (void) acl;
+ (void) cb; (void) data;
assert (0);
}
httpd_handler_sys_t *httpd_HandlerDelete (httpd_handler_t *handler)
{
+ (void) handler;
assert (0);
}
httpd_handler_callback_t cb,
httpd_handler_sys_t *data)
{
+ (void) host; (void) url;
+ (void) login; (void) password; (void) acl;
+ (void) cb; (void) data;
assert (0);
}
void httpd_HostDelete (httpd_host_t *h)
{
+ (void) h;
assert (0);
}
void httpd_MsgAdd (httpd_message_t *m, const char *name, const char *fmt, ...)
{
+ (void) m; (void) name; (void) fmt;
assert (0);
}
const char *httpd_MsgGet (const httpd_message_t *m, const char *name)
{
+ (void) m; (void) name;
assert (0);
}
void httpd_RedirectDelete (httpd_redirect_t *r)
{
+ (void) r;
assert (0);
}
httpd_redirect_t *httpd_RedirectNew (httpd_host_t *host,
const char *dst, const char *src)
{
+ (void) host; (void) dst; (void) src;
assert (0);
}
char *httpd_ServerIP (const httpd_client_t *client, char *ip)
{
+ (void) client; (void) ip;
assert (0);
}
void httpd_StreamDelete (httpd_stream_t *stream)
{
+ (void) stream;
assert (0);
}
int httpd_StreamHeader (httpd_stream_t *stream, uint8_t *data, int count)
{
+ (void) stream; (void) data; (void) count;
assert (0);
}
const char *login, const char *password,
const vlc_acl_t *acl)
{
+ (void) host; (void) url; (void) content_type;
+ (void) login; (void) password; (void) acl;
assert (0);
}
int httpd_StreamSend (httpd_stream_t *stream, uint8_t *data, int count)
{
+ (void) stream; (void) data; (void) count;
assert (0);
}
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)
{
+ (void) url; (void) request; (void) cb; (void) data;
assert (0);
}
void httpd_UrlDelete (httpd_url_t *url)
{
+ (void) url;
assert (0);
}
const char *login, const char *password,
const vlc_acl_t *acl)
{
+ (void) host; (void) url; (void) login; (void) password; (void) acl;
assert (0);
}
const char *login, const char *password,
const vlc_acl_t *acl)
{
+ (void) host; (void) url; (void) login; (void) password; (void) acl;
assert (0);
}
#endif /* !ENABLE_HTTPD */
#ifndef ENABLE_SOUT
+# include <vlc_sout.h>
-# ifndef ENABLE_VLM
-# include <vlc_vlm.h>
+char *sdp_AddMedia (char **sdp, const char *type, const char *protocol,
+ int dport, unsigned pt, bool bw_indep, unsigned bw,
+ const char *ptname, unsigned clockrate, unsigned channels,
+ const char *fmtp)
+{
+ assert (*sdp == NULL);
+ return NULL;
+}
+
+char *sdp_AddAttribute (char **sdp, const char *name, const char *fmt, ...)
+{
+ assert (*sdp == NULL);
+ return NULL;
+}
+
+int sout_AccessOutControl (sout_access_out_t *out, int query, ...)
+{
+ assert (0);
+}
+
+void sout_AccessOutDelete (sout_access_out_t *out)
+{
+ assert (0);
+}
+
+#undef sout_AccessOutNew
+sout_access_out_t *sout_AccessOutNew (vlc_object_t *obj,
+ const char *access, const char *name)
+{
+ msg_Err (obj, "Output support not compiled-in!");
+ return NULL;
+}
+
+ssize_t sout_AccessOutRead (sout_access_out_t *out, block_t *block)
+{
+ assert (0);
+}
+
+int sout_AccessOutSeek (sout_access_out_t *out, off_t offset)
+{
+ assert (0);
+}
+
+ssize_t sout_AccessOutWrite (sout_access_out_t *out, block_t *block)
+{
+ assert (0);
+}
+
+#undef sout_AnnounceRegisterSDP
+session_descriptor_t *sout_AnnounceRegisterSDP (vlc_object_t *obj,
+ const char *sdp,
+ const char *dst,
+ announce_method_t *method)
+{
+ msg_Err (obj, "SDP export not compiled-in!");
+ assert (method == NULL);
+ return NULL;
+}
+
+#undef sout_AnnounceUnRegister
+sout_AnnounceUnRegister (vlc_object_t *obj, session_descriptor_t *d)
+{
+ assert (0);
+}
+
+#undef sout_EncoderCreate
+encoder_t *sout_EncoderCreate( vlc_object_t *p_this )
+{
+ msg_Err (p_this, "Encoding support not compiled-in!");
+ return NULL;
+}
+
+void sout_MethodRelease (announce_method_t *method)
+{
+ (void)method;
+}
+
+sout_input_t *sout_MuxAddStream (sout_mux_t *mux, es_format_t *fmt)
+{
+ assert (0);
+}
+
+void sout_MuxDelete (sout_mux_t *mux)
+{
+ assert (0);
+}
+
+void sout_MuxDeleteStream (sout_mux_t *mux, sout_input_t *input)
+{
+ assert (0);
+}
+
+int sout_MuxGetStream (sout_mux_t *p_mux, int i_blocks, mtime_t *pi_dts)
+{
+ assert (0);
+}
+
+sout_mux_t *sout_MuxNew (sout_instance_t *instance, const char *mux,
+ sout_access_out_t *out)
+{
+ assert (0);
+}
+
+void sout_MuxSendBuffer (sout_mux_t *mux, sout_input_t *input, block_t *block)
+{
+ assert (0);
+}
+
+announce_method_t *sout_SAPMethod (void)
+{
+ return NULL;
+}
+
+void sout_StreamDelete (sout_stream_t *stream)
+{
+ assert (0);
+}
+
+sout_stream_t *sout_StreamNew (sout_instance_t *instance, char *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)
+{
+ return NULL;
+}
+#endif /* !ENABLE_SOUT */
+
+#ifndef ENABLE_VLM
+# include <vlc_vlm.h>
int vlm_Control (vlm_t *vlm, int query, ...)
{
assert (0);
}
-vlm_message_t *vlm_MessageNew (const char *a, const char *fmt, ...)
+vlm_message_t *vlm_MessageSimpleNew (const char *a)
{
return NULL;
}
+vlm_message_t *vlm_MessageNew (const char *a, const char *fmt, ...)
+{
+ return vlm_MessageSimpleNew (a);
+}
+
vlm_t *__vlm_New (vlc_object_t *obj)
{
msg_Err (obj, "VLM not compiled-in!");
return NULL;
}
-
-# endif /* !ENABLE_VLM */
-#endif /* !ENABLE_SOUT */
+#endif /* !ENABLE_VLM */