1 /*****************************************************************************
2 * missing.c: missing libvlccore symbols
3 *****************************************************************************
4 * Copyright (C) 2008-2011 Rémi Denis-Courmont
5 * Copyright (C) 2009-2014 VLC authors and VideoLAN
8 * Authors: Rémi Denis-Courmont <rem # videolan : org>
9 * Pierre Ynard <linkfanel # yahoo fr>
10 * Toralf Niebuhr <gmthor85 # aim com>
11 * Felix Paul Kühne <fkuehne # videolan org>
12 * Jean-Paul Saman <jpsaman # videolan org>
13 * Antoine Cellerier <dionoea # videolan org>
15 * This program is free software; you can redistribute it and/or modify it
16 * under the terms of the GNU Lesser General Public License as published by
17 * the Free Software Foundation; either version 2.1 of the License, or
18 * (at your option) any later version.
20 * This program is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU Lesser General Public License for more details.
25 * You should have received a copy of the GNU Lesser General Public License
26 * along with this program; if not, write to the Free Software Foundation,
27 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
28 *****************************************************************************/
31 * This file contains dummy replacement API for disabled features
38 #include <vlc_common.h>
42 # include <vlc_sout.h>
44 void sdp_AddMedia (struct vlc_memstream
*sdp
, const char *type
, const char *protocol
,
45 int dport
, unsigned pt
, bool bw_indep
, unsigned bw
,
46 const char *ptname
, unsigned clockrate
, unsigned channels
,
49 VLC_UNUSED (sdp
); VLC_UNUSED (type
); VLC_UNUSED (protocol
);
50 VLC_UNUSED (dport
); VLC_UNUSED (pt
); VLC_UNUSED (bw_indep
);
51 VLC_UNUSED (bw
); VLC_UNUSED (ptname
); VLC_UNUSED (clockrate
);
52 VLC_UNUSED (channels
); VLC_UNUSED (fmtp
);
56 void sdp_AddAttribute (struct vlc_memstream
*sdp
, const char *name
, const char *fmt
, ...)
58 VLC_UNUSED (sdp
); VLC_UNUSED (name
); VLC_UNUSED (fmt
);
62 int sout_AccessOutControl (sout_access_out_t
*out
, int query
, ...)
64 VLC_UNUSED (out
); VLC_UNUSED (query
);
65 vlc_assert_unreachable ();
68 void sout_AccessOutDelete (sout_access_out_t
*out
)
71 vlc_assert_unreachable ();
74 #undef sout_AccessOutNew
75 sout_access_out_t
*sout_AccessOutNew (vlc_object_t
*obj
,
76 const char *access
, const char *name
)
78 VLC_UNUSED (access
); VLC_UNUSED (name
);
79 msg_Err (obj
, "Output support not compiled-in!");
83 ssize_t
sout_AccessOutRead (sout_access_out_t
*out
, block_t
*block
)
85 VLC_UNUSED (out
); VLC_UNUSED (block
);
86 vlc_assert_unreachable ();
89 int sout_AccessOutSeek (sout_access_out_t
*out
, off_t offset
)
91 VLC_UNUSED (out
); VLC_UNUSED (offset
);
92 vlc_assert_unreachable ();
95 ssize_t
sout_AccessOutWrite (sout_access_out_t
*out
, block_t
*block
)
97 VLC_UNUSED (out
); VLC_UNUSED (block
);
98 vlc_assert_unreachable ();
101 #undef sout_AnnounceRegisterSDP
102 session_descriptor_t
*sout_AnnounceRegisterSDP (vlc_object_t
*obj
,
106 VLC_UNUSED (sdp
); VLC_UNUSED (dst
);
107 msg_Err (obj
, "SDP export not compiled-in!");
111 #undef sout_AnnounceUnRegister
112 void sout_AnnounceUnRegister (vlc_object_t
*obj
, session_descriptor_t
*d
)
114 VLC_UNUSED (obj
); VLC_UNUSED (d
);
115 vlc_assert_unreachable ();
118 #undef sout_EncoderCreate
119 encoder_t
*sout_EncoderCreate( vlc_object_t
*p_this
)
121 msg_Err (p_this
, "Encoding support not compiled-in!");
125 sout_input_t
*sout_MuxAddStream( sout_mux_t
*mux
, const es_format_t
*fmt
)
127 VLC_UNUSED (mux
); VLC_UNUSED (fmt
);
128 vlc_assert_unreachable ();
131 void sout_MuxDelete (sout_mux_t
*mux
)
134 vlc_assert_unreachable ();
137 void sout_MuxDeleteStream (sout_mux_t
*mux
, sout_input_t
*input
)
139 VLC_UNUSED (mux
); VLC_UNUSED (input
);
140 vlc_assert_unreachable ();
143 int sout_MuxGetStream (sout_mux_t
*p_mux
, unsigned int i_blocks
, mtime_t
*pi_dts
)
145 VLC_UNUSED (p_mux
); VLC_UNUSED (i_blocks
); VLC_UNUSED (pi_dts
);
146 vlc_assert_unreachable ();
149 sout_mux_t
*sout_MuxNew (sout_instance_t
*instance
, const char *mux
,
150 sout_access_out_t
*out
)
152 VLC_UNUSED (instance
); VLC_UNUSED (mux
); VLC_UNUSED (out
);
153 vlc_assert_unreachable ();
156 int sout_MuxSendBuffer (sout_mux_t
*mux
, sout_input_t
*input
, block_t
*block
)
158 VLC_UNUSED (mux
); VLC_UNUSED (input
); VLC_UNUSED (block
);
159 vlc_assert_unreachable ();
162 void sout_MuxFlush( sout_mux_t
*mux
, sout_input_t
*input
)
164 VLC_UNUSED (mux
); VLC_UNUSED (input
);
165 vlc_assert_unreachable ();
168 void sout_StreamChainDelete (sout_stream_t
*p_first
, sout_stream_t
*p_last
)
170 VLC_UNUSED (p_first
); VLC_UNUSED (p_last
);
171 vlc_assert_unreachable ();
174 sout_stream_t
*sout_StreamChainNew (sout_instance_t
*p_sout
, const char *psz_chain
,
175 sout_stream_t
*p_next
,
176 sout_stream_t
**pp_last
)
178 VLC_UNUSED (p_sout
); VLC_UNUSED (psz_chain
); VLC_UNUSED (p_next
);
179 VLC_UNUSED (pp_last
);
180 vlc_assert_unreachable ();
183 int vlc_sdp_Start (struct vlc_memstream
*sdp
, vlc_object_t
*obj
, const char *cfg
,
184 const struct sockaddr
*src
, size_t srclen
,
185 const struct sockaddr
*addr
, size_t addrlen
)
187 VLC_UNUSED (obj
); VLC_UNUSED (cfg
); VLC_UNUSED (src
); VLC_UNUSED (srclen
);
188 VLC_UNUSED (addr
); VLC_UNUSED (addrlen
);
191 #endif /* !ENABLE_SOUT */
194 # include <vlc_vlm.h>
196 int vlm_Control (vlm_t
*vlm
, int query
, ...)
200 vlc_assert_unreachable ();
203 void vlm_Delete (vlm_t
*vlm
)
206 vlc_assert_unreachable ();
209 int vlm_ExecuteCommand (vlm_t
*vlm
, const char *cmd
, vlm_message_t
**pm
)
214 vlc_assert_unreachable ();
217 vlm_message_t
*vlm_MessageAdd (vlm_message_t
*a
, vlm_message_t
*b
)
221 vlc_assert_unreachable ();
224 void vlm_MessageDelete (vlm_message_t
*m
)
227 vlc_assert_unreachable ();
230 vlm_message_t
*vlm_MessageSimpleNew (const char *a
)
236 vlm_message_t
*vlm_MessageNew (const char *a
, const char *fmt
, ...)
240 return vlm_MessageSimpleNew (a
);
244 vlm_t
*vlm_New (libvlc_int_t
*obj
, const char *file
)
246 msg_Err (obj
, "VLM not compiled-in!");
250 #endif /* !ENABLE_VLM */
253 # include <vlc_update.h>
255 update_t
*(update_New
)(vlc_object_t
*obj
)
261 void update_Delete(update_t
*u
)
264 vlc_assert_unreachable();
267 void update_Check(update_t
*u
, void (*cb
)(void *, bool), void *opaque
)
269 (void) u
; (void) cb
; (void) opaque
;
270 vlc_assert_unreachable();
273 bool update_NeedUpgrade(update_t
*u
)
276 vlc_assert_unreachable();
279 void update_Download(update_t
*u
, const char *dir
)
281 (void) u
; (void) dir
;
282 vlc_assert_unreachable();
285 update_release_t
*update_GetRelease(update_t
*u
)
288 vlc_assert_unreachable();
290 #endif /* !UPDATE_CHECK */