contrib: remove gstreamer-0.10
[siplcs.git] / src / telepathy / telepathy-stubs.c
blob05c0a5812d6e899300b34b62aa10c92b5fa92c51
1 /**
2 * @file telepathy-stubs.c
4 * pidgin-sipe
6 * Copyright (C) 2012-2016 SIPE Project <http://sipe.sourceforge.net/>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 * Stubs for all unimplemented backend functions, because
26 * - feature is not yet implemented, or
27 * - feature can't be implemented for telepathy backend
29 * Ordering copied from sipe-backend.h
32 #ifdef HAVE_CONFIG_H
33 #include "config.h"
34 #endif
36 #include <glib.h>
38 #include "sipe-backend.h"
39 #include "sipe-common.h"
41 /** BUDDIES ******************************************************************/
43 void sipe_backend_buddy_list_processing_start(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public) {}
44 void sipe_backend_buddy_request_add(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
45 SIPE_UNUSED_PARAMETER const gchar *who,
46 SIPE_UNUSED_PARAMETER const gchar *alias) {}
47 void sipe_backend_buddy_request_authorization(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
48 SIPE_UNUSED_PARAMETER const gchar *who,
49 SIPE_UNUSED_PARAMETER const gchar *alias,
50 SIPE_UNUSED_PARAMETER gboolean on_list,
51 SIPE_UNUSED_PARAMETER sipe_backend_buddy_request_authorization_cb auth_cb,
52 SIPE_UNUSED_PARAMETER sipe_backend_buddy_request_authorization_cb deny_cb,
53 SIPE_UNUSED_PARAMETER gpointer data) {}
54 gboolean sipe_backend_buddy_is_blocked(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
55 SIPE_UNUSED_PARAMETER const gchar *who) { return(FALSE); }
56 void sipe_backend_buddy_set_blocked_status(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
57 SIPE_UNUSED_PARAMETER const gchar *who,
58 SIPE_UNUSED_PARAMETER gboolean blocked) {}
59 gboolean sipe_backend_buddy_group_rename(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
60 SIPE_UNUSED_PARAMETER const gchar *old_name,
61 SIPE_UNUSED_PARAMETER const gchar *new_name) { return(FALSE); }
62 struct sipe_backend_buddy_info *sipe_backend_buddy_info_start(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public) { return(NULL); }
63 void sipe_backend_buddy_info_add(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
64 SIPE_UNUSED_PARAMETER struct sipe_backend_buddy_info *info,
65 SIPE_UNUSED_PARAMETER sipe_buddy_info_fields key,
66 SIPE_UNUSED_PARAMETER const gchar *value) {}
67 void sipe_backend_buddy_info_break(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
68 SIPE_UNUSED_PARAMETER struct sipe_backend_buddy_info *info) {}
69 void sipe_backend_buddy_info_finalize(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
70 SIPE_UNUSED_PARAMETER struct sipe_backend_buddy_info *info,
71 SIPE_UNUSED_PARAMETER const gchar *uri) {}
72 void sipe_backend_buddy_tooltip_add(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
73 SIPE_UNUSED_PARAMETER struct sipe_backend_buddy_tooltip *tooltip,
74 SIPE_UNUSED_PARAMETER const gchar *description,
75 SIPE_UNUSED_PARAMETER const gchar *value) {}
76 struct sipe_backend_buddy_menu *sipe_backend_buddy_menu_start(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public) { return(NULL); }
77 struct sipe_backend_buddy_menu *sipe_backend_buddy_menu_add(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
78 SIPE_UNUSED_PARAMETER struct sipe_backend_buddy_menu *menu,
79 SIPE_UNUSED_PARAMETER const gchar *label,
80 SIPE_UNUSED_PARAMETER enum sipe_buddy_menu_type type,
81 SIPE_UNUSED_PARAMETER gpointer parameter) { return(NULL); }
82 struct sipe_backend_buddy_menu *sipe_backend_buddy_menu_separator(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
83 SIPE_UNUSED_PARAMETER struct sipe_backend_buddy_menu *menu,
84 SIPE_UNUSED_PARAMETER const gchar *label) { return(NULL); }
85 struct sipe_backend_buddy_menu *sipe_backend_buddy_sub_menu_add(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
86 SIPE_UNUSED_PARAMETER struct sipe_backend_buddy_menu *menu,
87 SIPE_UNUSED_PARAMETER const gchar *label,
88 SIPE_UNUSED_PARAMETER struct sipe_backend_buddy_menu *sub) { return(NULL); }
90 /** CHAT *********************************************************************/
92 void sipe_backend_chat_session_destroy(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *session) {}
93 void sipe_backend_chat_add(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
94 SIPE_UNUSED_PARAMETER const gchar *uri,
95 SIPE_UNUSED_PARAMETER gboolean is_new) {}
96 void sipe_backend_chat_close(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session) {}
97 struct sipe_backend_chat_session *sipe_backend_chat_create(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
98 SIPE_UNUSED_PARAMETER struct sipe_chat_session *session,
99 SIPE_UNUSED_PARAMETER const gchar *title,
100 SIPE_UNUSED_PARAMETER const gchar *nick) { return(NULL); }
101 gboolean sipe_backend_chat_find(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
102 SIPE_UNUSED_PARAMETER const gchar *uri) { return(FALSE); }
103 gboolean sipe_backend_chat_is_operator(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
104 SIPE_UNUSED_PARAMETER const gchar *uri) { return(FALSE); }
105 void sipe_backend_chat_message(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
106 SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
107 SIPE_UNUSED_PARAMETER const gchar *from,
108 SIPE_UNUSED_PARAMETER time_t when,
109 SIPE_UNUSED_PARAMETER const gchar *html) {}
110 void sipe_backend_chat_operator(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
111 SIPE_UNUSED_PARAMETER const gchar *uri) {}
112 void sipe_backend_chat_rejoin(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
113 SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
114 SIPE_UNUSED_PARAMETER const gchar *nick,
115 SIPE_UNUSED_PARAMETER const gchar *title) {}
116 void sipe_backend_chat_rejoin_all(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public) {}
117 void sipe_backend_chat_remove(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
118 SIPE_UNUSED_PARAMETER const gchar *uri) {}
119 void sipe_backend_chat_show(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session) {}
120 void sipe_backend_chat_topic(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
121 SIPE_UNUSED_PARAMETER const gchar *topic) {}
123 /** FILE TRANSFER ************************************************************/
125 void sipe_backend_ft_error(SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft,
126 SIPE_UNUSED_PARAMETER const gchar *errmsg) {}
127 const gchar *sipe_backend_ft_get_error(SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft) { return(""); }
128 void sipe_backend_ft_deallocate(SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft) {}
129 gssize sipe_backend_ft_read(SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft,
130 SIPE_UNUSED_PARAMETER guchar *data,
131 SIPE_UNUSED_PARAMETER gsize size) { return(-1); }
132 gssize sipe_backend_ft_write(SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft,
133 SIPE_UNUSED_PARAMETER const guchar *data,
134 SIPE_UNUSED_PARAMETER gsize size) { return(-1); }
135 void sipe_backend_ft_set_completed(SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft) {}
136 void sipe_backend_ft_cancel_local(SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft) {}
137 void sipe_backend_ft_cancel_remote(SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft) {}
138 void sipe_backend_ft_incoming(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
139 SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft,
140 SIPE_UNUSED_PARAMETER const gchar *who,
141 SIPE_UNUSED_PARAMETER const gchar *file_name,
142 SIPE_UNUSED_PARAMETER gsize file_size) {}
143 void sipe_backend_ft_outgoing(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
144 SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft,
145 SIPE_UNUSED_PARAMETER const gchar *who,
146 SIPE_UNUSED_PARAMETER const gchar *file_name) {}
147 void sipe_backend_ft_start(SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft,
148 SIPE_UNUSED_PARAMETER struct sipe_backend_fd *fd,
149 SIPE_UNUSED_PARAMETER const char* ip,
150 SIPE_UNUSED_PARAMETER unsigned port) {}
151 gboolean sipe_backend_ft_is_incoming(SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft) { return(FALSE); }
153 /** GROUP CHAT ***************************************************************/
155 void sipe_backend_groupchat_room_add(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
156 SIPE_UNUSED_PARAMETER const gchar *uri,
157 SIPE_UNUSED_PARAMETER const gchar *name,
158 SIPE_UNUSED_PARAMETER const gchar *description,
159 SIPE_UNUSED_PARAMETER guint users,
160 SIPE_UNUSED_PARAMETER guint32 flags) {}
161 void sipe_backend_groupchat_room_terminate(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public) {}
163 /** IM ***********************************************************************/
165 void sipe_backend_im_message(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
166 SIPE_UNUSED_PARAMETER const gchar *from,
167 SIPE_UNUSED_PARAMETER const gchar *html) {}
168 void sipe_backend_im_topic(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
169 SIPE_UNUSED_PARAMETER const gchar *with,
170 SIPE_UNUSED_PARAMETER const gchar *topic) {}
172 /** MARKUP *******************************************************************/
174 gchar *sipe_backend_markup_css_property(SIPE_UNUSED_PARAMETER SIPE_UNUSED_PARAMETER const gchar *style,
175 SIPE_UNUSED_PARAMETER const gchar *option) { return(g_strdup("")); }
176 gchar *sipe_backend_markup_strip_html(SIPE_UNUSED_PARAMETER SIPE_UNUSED_PARAMETER const gchar *html) { return(g_strdup("")); }
178 /** MEDIA ********************************************************************/
179 #ifdef HAVE_VV
180 struct sipe_backend_media *sipe_backend_media_new(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
181 SIPE_UNUSED_PARAMETER struct sipe_media_call *call,
182 SIPE_UNUSED_PARAMETER const gchar *participant,
183 SIPE_UNUSED_PARAMETER SipeMediaCallFlags flags) { return(NULL); }
184 void sipe_backend_media_free(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media) {}
185 void sipe_backend_media_set_cname(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
186 SIPE_UNUSED_PARAMETER gchar *cname) {}
187 struct sipe_backend_media_relays * sipe_backend_media_relays_convert(SIPE_UNUSED_PARAMETER GSList *media_relays,
188 SIPE_UNUSED_PARAMETER gchar *username,
189 SIPE_UNUSED_PARAMETER gchar *password) { return(NULL); }
190 void sipe_backend_media_relays_free(SIPE_UNUSED_PARAMETER struct sipe_backend_media_relays *media_relays) {}
191 struct sipe_backend_media_stream *sipe_backend_media_add_stream(SIPE_UNUSED_PARAMETER struct sipe_media_stream *stream,
192 SIPE_UNUSED_PARAMETER SipeMediaType type,
193 SIPE_UNUSED_PARAMETER SipeIceVersion ice_version,
194 SIPE_UNUSED_PARAMETER gboolean initiator,
195 SIPE_UNUSED_PARAMETER struct sipe_backend_media_relays *media_relays,
196 SIPE_UNUSED_PARAMETER guint min_port,
197 SIPE_UNUSED_PARAMETER guint max_port) { return(NULL); }
198 void sipe_backend_media_add_remote_candidates(SIPE_UNUSED_PARAMETER struct sipe_media_call *media,
199 SIPE_UNUSED_PARAMETER struct sipe_media_stream *stream,
200 SIPE_UNUSED_PARAMETER GList *candidates) {}
201 gboolean sipe_backend_media_is_initiator(SIPE_UNUSED_PARAMETER struct sipe_media_call *media,
202 SIPE_UNUSED_PARAMETER struct sipe_media_stream *stream) { return(FALSE); }
203 gboolean sipe_backend_media_accepted(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media) { return(FALSE); }
204 gboolean sipe_backend_stream_initialized(SIPE_UNUSED_PARAMETER struct sipe_media_call *media,
205 SIPE_UNUSED_PARAMETER struct sipe_media_stream *stream) { return(FALSE); }
206 GList *sipe_backend_media_stream_get_active_local_candidates(SIPE_UNUSED_PARAMETER struct sipe_media_stream *stream) { return(NULL); }
207 GList *sipe_backend_media_stream_get_active_remote_candidates(SIPE_UNUSED_PARAMETER struct sipe_media_stream *stream) { return(NULL); }
208 void sipe_backend_media_set_encryption_keys(SIPE_UNUSED_PARAMETER struct sipe_media_call *media,
209 SIPE_UNUSED_PARAMETER struct sipe_media_stream *stream,
210 SIPE_UNUSED_PARAMETER const guchar *encryption_key,
211 SIPE_UNUSED_PARAMETER const guchar *decryption_key) {}
212 void sipe_backend_stream_hold(SIPE_UNUSED_PARAMETER struct sipe_media_call *media,
213 SIPE_UNUSED_PARAMETER struct sipe_media_stream *stream,
214 SIPE_UNUSED_PARAMETER gboolean local) {}
215 void sipe_backend_stream_unhold(SIPE_UNUSED_PARAMETER struct sipe_media_call *media,
216 SIPE_UNUSED_PARAMETER struct sipe_media_stream *stream,
217 SIPE_UNUSED_PARAMETER gboolean local) {}
218 gboolean sipe_backend_stream_is_held(SIPE_UNUSED_PARAMETER struct sipe_media_stream *stream) { return(FALSE); }
219 void sipe_backend_media_stream_end(SIPE_UNUSED_PARAMETER struct sipe_media_call *media,
220 SIPE_UNUSED_PARAMETER struct sipe_media_stream *stream) {}
221 void sipe_backend_media_stream_free(SIPE_UNUSED_PARAMETER struct sipe_backend_media_stream *stream) {}
222 struct sipe_backend_codec *sipe_backend_codec_new(SIPE_UNUSED_PARAMETER int id,
223 SIPE_UNUSED_PARAMETER const char *name,
224 SIPE_UNUSED_PARAMETER SipeMediaType type,
225 SIPE_UNUSED_PARAMETER guint clock_rate,
226 SIPE_UNUSED_PARAMETER guint channels) { return(NULL); }
227 void sipe_backend_codec_free(SIPE_UNUSED_PARAMETER struct sipe_backend_codec *codec) {}
228 int sipe_backend_codec_get_id(SIPE_UNUSED_PARAMETER struct sipe_backend_codec *codec) { return(0); }
229 gchar *sipe_backend_codec_get_name(SIPE_UNUSED_PARAMETER struct sipe_backend_codec *codec) { return(g_strdup("")); }
230 guint sipe_backend_codec_get_clock_rate(SIPE_UNUSED_PARAMETER struct sipe_backend_codec *codec) { return(0); }
231 void sipe_backend_codec_add_optional_parameter(SIPE_UNUSED_PARAMETER struct sipe_backend_codec *codec,
232 SIPE_UNUSED_PARAMETER const gchar *name,
233 SIPE_UNUSED_PARAMETER const gchar *value) {}
234 GList *sipe_backend_codec_get_optional_parameters(SIPE_UNUSED_PARAMETER struct sipe_backend_codec *codec) { return(NULL); }
235 gboolean sipe_backend_set_remote_codecs(SIPE_UNUSED_PARAMETER struct sipe_media_call *media,
236 SIPE_UNUSED_PARAMETER struct sipe_media_stream *stream,
237 SIPE_UNUSED_PARAMETER GList *codecs) { return(FALSE); }
238 GList* sipe_backend_get_local_codecs(SIPE_UNUSED_PARAMETER struct sipe_media_call *media,
239 SIPE_UNUSED_PARAMETER struct sipe_media_stream *stream) { return(NULL); }
240 struct sipe_backend_candidate * sipe_backend_candidate_new(SIPE_UNUSED_PARAMETER const gchar *foundation,
241 SIPE_UNUSED_PARAMETER SipeComponentType component,
242 SIPE_UNUSED_PARAMETER SipeCandidateType type,
243 SIPE_UNUSED_PARAMETER SipeNetworkProtocol proto,
244 SIPE_UNUSED_PARAMETER const gchar *ip,
245 SIPE_UNUSED_PARAMETER guint port,
246 SIPE_UNUSED_PARAMETER const gchar *username,
247 SIPE_UNUSED_PARAMETER const gchar *password) { return(NULL); }
248 void sipe_backend_candidate_free(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) {}
249 gchar *sipe_backend_candidate_get_username(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(g_strdup("")); }
250 gchar *sipe_backend_candidate_get_password(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(g_strdup("")); }
251 gchar *sipe_backend_candidate_get_foundation(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(g_strdup("")); }
252 gchar *sipe_backend_candidate_get_ip(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(g_strdup("127.0.0.1")); }
253 guint sipe_backend_candidate_get_port(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(0); }
254 gchar *sipe_backend_candidate_get_base_ip(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(g_strdup("127.0.0.1")); }
255 guint sipe_backend_candidate_get_base_port(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(0); }
256 guint32 sipe_backend_candidate_get_priority(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(0); }
257 void sipe_backend_candidate_set_priority(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate,
258 SIPE_UNUSED_PARAMETER guint32 priority) {}
259 SipeComponentType sipe_backend_candidate_get_component_type(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(SIPE_COMPONENT_NONE); }
260 SipeCandidateType sipe_backend_candidate_get_type(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(SIPE_CANDIDATE_TYPE_ANY); }
261 SipeNetworkProtocol sipe_backend_candidate_get_protocol(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(SIPE_NETWORK_PROTOCOL_TCP_ACTIVE); }
262 GList* sipe_backend_get_local_candidates(SIPE_UNUSED_PARAMETER struct sipe_media_call *media,
263 SIPE_UNUSED_PARAMETER struct sipe_media_stream *stream) { return(NULL); }
264 void sipe_backend_media_accept(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
265 SIPE_UNUSED_PARAMETER gboolean local) {}
266 void sipe_backend_media_hangup(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
267 SIPE_UNUSED_PARAMETER gboolean local) {}
268 void sipe_backend_media_reject(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
269 SIPE_UNUSED_PARAMETER gboolean local) {}
270 SipeEncryptionPolicy sipe_backend_media_get_encryption_policy(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public) { return(SIPE_ENCRYPTION_POLICY_REJECTED); }
271 gssize sipe_backend_media_stream_read(SIPE_UNUSED_PARAMETER struct sipe_media_stream *stream,
272 SIPE_UNUSED_PARAMETER guint8 *buffer,
273 SIPE_UNUSED_PARAMETER gsize len) { return(-1); }
274 gssize sipe_backend_media_stream_write(SIPE_UNUSED_PARAMETER struct sipe_media_stream *stream,
275 SIPE_UNUSED_PARAMETER guint8 *buffer,
276 SIPE_UNUSED_PARAMETER gsize len) { return(-1); }
277 #endif
279 /** NETWORK ******************************************************************/
281 struct sipe_backend_listendata *sipe_backend_network_listen_range(SIPE_UNUSED_PARAMETER unsigned short port_min,
282 SIPE_UNUSED_PARAMETER unsigned short port_max,
283 SIPE_UNUSED_PARAMETER sipe_listen_start_cb listen_cb,
284 SIPE_UNUSED_PARAMETER sipe_client_connected_cb connect_cb,
285 SIPE_UNUSED_PARAMETER gpointer data) { return(NULL); }
286 void sipe_backend_network_listen_cancel(SIPE_UNUSED_PARAMETER struct sipe_backend_listendata *ldata) {}
288 struct sipe_backend_fd *sipe_backend_fd_from_int(SIPE_UNUSED_PARAMETER int fd) { return (NULL); }
289 gboolean sipe_backend_fd_is_valid(SIPE_UNUSED_PARAMETER struct sipe_backend_fd *fd) { return(FALSE); }
290 void sipe_backend_fd_free(SIPE_UNUSED_PARAMETER struct sipe_backend_fd *fd) {}
292 /** NOTIFICATIONS *************************************************************/
294 void sipe_backend_notify_message_error(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
295 SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
296 SIPE_UNUSED_PARAMETER const gchar *who,
297 SIPE_UNUSED_PARAMETER const gchar *message) {}
298 void sipe_backend_notify_message_info(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
299 SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
300 SIPE_UNUSED_PARAMETER const gchar *who,
301 SIPE_UNUSED_PARAMETER const gchar *message) {}
302 void sipe_backend_notify_error(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
303 SIPE_UNUSED_PARAMETER const gchar *title,
304 SIPE_UNUSED_PARAMETER const gchar *msg) {}
306 /** USER *********************************************************************/
308 void sipe_backend_user_feedback_typing(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
309 SIPE_UNUSED_PARAMETER const gchar *from) {}
310 void sipe_backend_user_feedback_typing_stop(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
311 SIPE_UNUSED_PARAMETER const gchar *from) {}
312 void sipe_backend_user_ask(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
313 SIPE_UNUSED_PARAMETER const gchar *message,
314 SIPE_UNUSED_PARAMETER const gchar *accept_label,
315 SIPE_UNUSED_PARAMETER const gchar *decline_label,
316 SIPE_UNUSED_PARAMETER gpointer key) {}
317 void sipe_backend_user_close_ask(SIPE_UNUSED_PARAMETER gpointer key) {}
320 Local Variables:
321 mode: c
322 c-file-style: "bsd"
323 indent-tabs-mode: t
324 tab-width: 8
325 End: