telepathy: implement buddy status handling
[siplcs.git] / src / telepathy / telepathy-stubs.c
blob11a3ac2826ee8557ad2f813777dc8bd92c8fc0b6
1 /**
2 * @file telepathy-stubs.c
4 * pidgin-sipe
6 * Copyright (C) 2012 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"
40 #include "sipe-core.h"
42 /** BUDDIES ******************************************************************/
44 gchar *sipe_backend_buddy_get_server_alias(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
45 SIPE_UNUSED_PARAMETER const sipe_backend_buddy who) { return(NULL); }
46 gchar *sipe_backend_buddy_get_local_alias(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
47 SIPE_UNUSED_PARAMETER const sipe_backend_buddy who) { return(NULL); }
48 gchar *sipe_backend_buddy_get_string(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
49 SIPE_UNUSED_PARAMETER sipe_backend_buddy buddy,
50 SIPE_UNUSED_PARAMETER const sipe_buddy_info_fields key) { return(NULL); }
51 void sipe_backend_buddy_set_string(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
52 SIPE_UNUSED_PARAMETER sipe_backend_buddy buddy,
53 SIPE_UNUSED_PARAMETER const sipe_buddy_info_fields key,
54 SIPE_UNUSED_PARAMETER const gchar *val) {}
55 void sipe_backend_buddy_set_server_alias(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
56 SIPE_UNUSED_PARAMETER const sipe_backend_buddy who,
57 SIPE_UNUSED_PARAMETER const gchar *alias) {}
58 void sipe_backend_buddy_list_processing_start(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public) {}
59 void sipe_backend_buddy_request_add(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
60 SIPE_UNUSED_PARAMETER const gchar *who,
61 SIPE_UNUSED_PARAMETER const gchar *alias) {}
62 void sipe_backend_buddy_request_authorization(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
63 SIPE_UNUSED_PARAMETER const gchar *who,
64 SIPE_UNUSED_PARAMETER const gchar *alias,
65 SIPE_UNUSED_PARAMETER gboolean on_list,
66 SIPE_UNUSED_PARAMETER sipe_backend_buddy_request_authorization_cb auth_cb,
67 SIPE_UNUSED_PARAMETER sipe_backend_buddy_request_authorization_cb deny_cb,
68 SIPE_UNUSED_PARAMETER gpointer data) {}
69 gboolean sipe_backend_buddy_is_blocked(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
70 SIPE_UNUSED_PARAMETER const gchar *who) { return(FALSE); }
71 void sipe_backend_buddy_set_blocked_status(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
72 SIPE_UNUSED_PARAMETER const gchar *who,
73 SIPE_UNUSED_PARAMETER gboolean blocked) {}
74 void sipe_backend_buddy_set_photo(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
75 SIPE_UNUSED_PARAMETER const gchar *who,
76 SIPE_UNUSED_PARAMETER gpointer image_data,
77 SIPE_UNUSED_PARAMETER gsize image_len,
78 SIPE_UNUSED_PARAMETER const gchar *photo_hash) {}
79 const gchar *sipe_backend_buddy_get_photo_hash(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
80 SIPE_UNUSED_PARAMETER const gchar *who) { return(""); }
81 struct sipe_backend_buddy_info *sipe_backend_buddy_info_start(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public) { return(NULL); }
82 void sipe_backend_buddy_info_add(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
83 SIPE_UNUSED_PARAMETER struct sipe_backend_buddy_info *info,
84 SIPE_UNUSED_PARAMETER sipe_buddy_info_fields key,
85 SIPE_UNUSED_PARAMETER const gchar *value) {}
86 void sipe_backend_buddy_info_break(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
87 SIPE_UNUSED_PARAMETER struct sipe_backend_buddy_info *info) {}
88 void sipe_backend_buddy_info_finalize(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
89 SIPE_UNUSED_PARAMETER struct sipe_backend_buddy_info *info,
90 SIPE_UNUSED_PARAMETER const gchar *uri) {}
91 void sipe_backend_buddy_tooltip_add(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
92 SIPE_UNUSED_PARAMETER struct sipe_backend_buddy_tooltip *tooltip,
93 SIPE_UNUSED_PARAMETER const gchar *description,
94 SIPE_UNUSED_PARAMETER const gchar *value) {}
95 struct sipe_backend_buddy_menu *sipe_backend_buddy_menu_start(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public) { return(NULL); }
96 struct sipe_backend_buddy_menu *sipe_backend_buddy_menu_add(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
97 SIPE_UNUSED_PARAMETER struct sipe_backend_buddy_menu *menu,
98 SIPE_UNUSED_PARAMETER const gchar *label,
99 SIPE_UNUSED_PARAMETER enum sipe_buddy_menu_type type,
100 SIPE_UNUSED_PARAMETER gpointer parameter) { return(NULL); }
101 struct sipe_backend_buddy_menu *sipe_backend_buddy_menu_separator(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
102 SIPE_UNUSED_PARAMETER struct sipe_backend_buddy_menu *menu,
103 SIPE_UNUSED_PARAMETER const gchar *label) { return(NULL); }
104 struct sipe_backend_buddy_menu *sipe_backend_buddy_sub_menu_add(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
105 SIPE_UNUSED_PARAMETER struct sipe_backend_buddy_menu *menu,
106 SIPE_UNUSED_PARAMETER const gchar *label,
107 SIPE_UNUSED_PARAMETER struct sipe_backend_buddy_menu *sub) { return(NULL); }
109 /** CHAT *********************************************************************/
111 void sipe_backend_chat_session_destroy(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *session) {}
112 void sipe_backend_chat_add(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
113 SIPE_UNUSED_PARAMETER const gchar *uri,
114 SIPE_UNUSED_PARAMETER gboolean is_new) {}
115 void sipe_backend_chat_close(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session) {}
116 struct sipe_backend_chat_session *sipe_backend_chat_create(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
117 SIPE_UNUSED_PARAMETER struct sipe_chat_session *session,
118 SIPE_UNUSED_PARAMETER const gchar *title,
119 SIPE_UNUSED_PARAMETER const gchar *nick) { return(NULL); }
120 gboolean sipe_backend_chat_find(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
121 SIPE_UNUSED_PARAMETER const gchar *uri) { return(FALSE); }
122 gboolean sipe_backend_chat_is_operator(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
123 SIPE_UNUSED_PARAMETER const gchar *uri) { return(FALSE); }
124 void sipe_backend_chat_message(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
125 SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
126 SIPE_UNUSED_PARAMETER const gchar *from,
127 SIPE_UNUSED_PARAMETER const gchar *html) {}
128 void sipe_backend_chat_operator(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
129 SIPE_UNUSED_PARAMETER const gchar *uri) {}
130 void sipe_backend_chat_rejoin(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
131 SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
132 SIPE_UNUSED_PARAMETER const gchar *nick,
133 SIPE_UNUSED_PARAMETER const gchar *title) {}
134 void sipe_backend_chat_rejoin_all(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public) {}
135 void sipe_backend_chat_remove(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
136 SIPE_UNUSED_PARAMETER const gchar *uri) {}
137 void sipe_backend_chat_show(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session) {}
138 void sipe_backend_chat_topic(SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
139 SIPE_UNUSED_PARAMETER const gchar *topic) {}
141 /** FILE TRANSFER ************************************************************/
143 void sipe_backend_ft_error(SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft,
144 SIPE_UNUSED_PARAMETER const gchar *errmsg) {}
145 void sipe_backend_ft_deallocate(SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft) {}
146 void sipe_backend_ft_cancel_local(SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft) {}
147 void sipe_backend_ft_cancel_remote(SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft) {}
148 void sipe_backend_ft_incoming(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
149 SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft,
150 SIPE_UNUSED_PARAMETER const gchar *who,
151 SIPE_UNUSED_PARAMETER const gchar *file_name,
152 SIPE_UNUSED_PARAMETER gsize file_size) {}
153 void sipe_backend_ft_start(SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft,
154 SIPE_UNUSED_PARAMETER struct sipe_backend_fd *fd,
155 SIPE_UNUSED_PARAMETER const char* ip,
156 SIPE_UNUSED_PARAMETER unsigned port) {}
157 gboolean sipe_backend_ft_is_incoming(SIPE_UNUSED_PARAMETER struct sipe_file_transfer *ft) { return(FALSE); }
159 /** GROUP CHAT ***************************************************************/
161 void sipe_backend_groupchat_room_add(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
162 SIPE_UNUSED_PARAMETER const gchar *uri,
163 SIPE_UNUSED_PARAMETER const gchar *name,
164 SIPE_UNUSED_PARAMETER const gchar *description,
165 SIPE_UNUSED_PARAMETER guint users,
166 SIPE_UNUSED_PARAMETER guint32 flags) {}
167 void sipe_backend_groupchat_room_terminate(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public) {}
169 /** IM ***********************************************************************/
171 void sipe_backend_im_message(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
172 SIPE_UNUSED_PARAMETER const gchar *from,
173 SIPE_UNUSED_PARAMETER const gchar *html) {}
174 void sipe_backend_im_topic(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
175 SIPE_UNUSED_PARAMETER const gchar *with,
176 SIPE_UNUSED_PARAMETER const gchar *topic) {}
178 /** MARKUP *******************************************************************/
180 gchar *sipe_backend_markup_css_property(SIPE_UNUSED_PARAMETER SIPE_UNUSED_PARAMETER const gchar *style,
181 SIPE_UNUSED_PARAMETER const gchar *option) { return(g_strdup("")); }
182 gchar *sipe_backend_markup_strip_html(SIPE_UNUSED_PARAMETER SIPE_UNUSED_PARAMETER const gchar *html) { return(g_strdup("")); }
184 /** MEDIA ********************************************************************/
185 #ifdef HAVE_VV
186 struct sipe_backend_media *sipe_backend_media_new(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
187 SIPE_UNUSED_PARAMETER struct sipe_media_call *call,
188 SIPE_UNUSED_PARAMETER const gchar *participant,
189 SIPE_UNUSED_PARAMETER gboolean initiator) { return(NULL); }
190 void sipe_backend_media_free(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media) {}
191 void sipe_backend_media_set_cname(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
192 SIPE_UNUSED_PARAMETER gchar *cname) {}
193 struct sipe_backend_media_relays * sipe_backend_media_relays_convert(SIPE_UNUSED_PARAMETER GSList *media_relays,
194 SIPE_UNUSED_PARAMETER gchar *username,
195 SIPE_UNUSED_PARAMETER gchar *password) { return(NULL); }
196 void sipe_backend_media_relays_free(SIPE_UNUSED_PARAMETER struct sipe_backend_media_relays *media_relays) {}
197 struct sipe_backend_stream *sipe_backend_media_add_stream(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
198 SIPE_UNUSED_PARAMETER const gchar *id,
199 SIPE_UNUSED_PARAMETER const gchar *participant,
200 SIPE_UNUSED_PARAMETER SipeMediaType type,
201 SIPE_UNUSED_PARAMETER SipeIceVersion ice_version,
202 SIPE_UNUSED_PARAMETER gboolean initiator,
203 SIPE_UNUSED_PARAMETER struct sipe_backend_media_relays *media_relays) { return(NULL); }
204 void sipe_backend_media_remove_stream(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
205 SIPE_UNUSED_PARAMETER struct sipe_backend_stream *stream) {}
206 GSList *sipe_backend_media_get_streams(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media) { return(NULL); }
207 struct sipe_backend_stream *sipe_backend_media_get_stream_by_id(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
208 SIPE_UNUSED_PARAMETER const gchar *id) { return(NULL); }
209 void sipe_backend_media_add_remote_candidates(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
210 SIPE_UNUSED_PARAMETER struct sipe_backend_stream *stream,
211 SIPE_UNUSED_PARAMETER GList *candidates) {}
212 gboolean sipe_backend_media_is_initiator(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
213 SIPE_UNUSED_PARAMETER struct sipe_backend_stream *stream) { return(FALSE); }
214 gboolean sipe_backend_media_accepted(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media) { return(FALSE); }
215 gboolean sipe_backend_candidates_prepared(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media) { return(FALSE); }
216 GList *sipe_backend_media_get_active_local_candidates(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
217 SIPE_UNUSED_PARAMETER struct sipe_backend_stream *stream) { return(NULL); }
218 GList *sipe_backend_media_get_active_remote_candidates(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
219 SIPE_UNUSED_PARAMETER struct sipe_backend_stream *stream) { return(NULL); }
220 const gchar *sipe_backend_stream_get_id(SIPE_UNUSED_PARAMETER struct sipe_backend_stream *stream) { return(""); }
221 void sipe_backend_stream_hold(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
222 SIPE_UNUSED_PARAMETER struct sipe_backend_stream *stream,
223 SIPE_UNUSED_PARAMETER gboolean local) {}
224 void sipe_backend_stream_unhold(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
225 SIPE_UNUSED_PARAMETER struct sipe_backend_stream *stream,
226 SIPE_UNUSED_PARAMETER gboolean local) {}
227 gboolean sipe_backend_stream_is_held(SIPE_UNUSED_PARAMETER struct sipe_backend_stream *stream) { return(FALSE); }
228 struct sipe_backend_codec *sipe_backend_codec_new(SIPE_UNUSED_PARAMETER int id,
229 SIPE_UNUSED_PARAMETER const char *name,
230 SIPE_UNUSED_PARAMETER SipeMediaType type,
231 SIPE_UNUSED_PARAMETER guint clock_rate) { return(NULL); }
232 void sipe_backend_codec_free(SIPE_UNUSED_PARAMETER struct sipe_backend_codec *codec) {}
233 int sipe_backend_codec_get_id(SIPE_UNUSED_PARAMETER struct sipe_backend_codec *codec) { return(0); }
234 gchar *sipe_backend_codec_get_name(SIPE_UNUSED_PARAMETER struct sipe_backend_codec *codec) { return(g_strdup("")); }
235 guint sipe_backend_codec_get_clock_rate(SIPE_UNUSED_PARAMETER struct sipe_backend_codec *codec) { return(0); }
236 void sipe_backend_codec_add_optional_parameter(SIPE_UNUSED_PARAMETER struct sipe_backend_codec *codec,
237 SIPE_UNUSED_PARAMETER const gchar *name,
238 SIPE_UNUSED_PARAMETER const gchar *value) {}
239 GList *sipe_backend_codec_get_optional_parameters(SIPE_UNUSED_PARAMETER struct sipe_backend_codec *codec) { return(NULL); }
240 gboolean sipe_backend_set_remote_codecs(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
241 SIPE_UNUSED_PARAMETER struct sipe_backend_stream *stream,
242 SIPE_UNUSED_PARAMETER GList *codecs) { return(FALSE); }
243 GList* sipe_backend_get_local_codecs(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
244 SIPE_UNUSED_PARAMETER struct sipe_backend_stream *stream) { return(NULL); }
245 struct sipe_backend_candidate * sipe_backend_candidate_new(SIPE_UNUSED_PARAMETER const gchar *foundation,
246 SIPE_UNUSED_PARAMETER SipeComponentType component,
247 SIPE_UNUSED_PARAMETER SipeCandidateType type,
248 SIPE_UNUSED_PARAMETER SipeNetworkProtocol proto,
249 SIPE_UNUSED_PARAMETER const gchar *ip,
250 SIPE_UNUSED_PARAMETER guint port,
251 SIPE_UNUSED_PARAMETER const gchar *username,
252 SIPE_UNUSED_PARAMETER const gchar *password) { return(NULL); }
253 void sipe_backend_candidate_free(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) {}
254 gchar *sipe_backend_candidate_get_username(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(g_strdup("")); }
255 gchar *sipe_backend_candidate_get_password(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(g_strdup("")); }
256 gchar *sipe_backend_candidate_get_foundation(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(g_strdup("")); }
257 gchar *sipe_backend_candidate_get_ip(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(g_strdup("127.0.0.1")); }
258 guint sipe_backend_candidate_get_port(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(0); }
259 gchar *sipe_backend_candidate_get_base_ip(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(g_strdup("127.0.0.1")); }
260 guint sipe_backend_candidate_get_base_port(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(0); }
261 guint32 sipe_backend_candidate_get_priority(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(0); }
262 void sipe_backend_candidate_set_priority(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate,
263 SIPE_UNUSED_PARAMETER guint32 priority) {}
264 SipeComponentType sipe_backend_candidate_get_component_type(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(SIPE_COMPONENT_NONE); }
265 SipeCandidateType sipe_backend_candidate_get_type(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(SIPE_CANDIDATE_TYPE_ANY); }
266 SipeNetworkProtocol sipe_backend_candidate_get_protocol(SIPE_UNUSED_PARAMETER struct sipe_backend_candidate *candidate) { return(SIPE_NETWORK_PROTOCOL_TCP_ACTIVE); }
267 GList* sipe_backend_get_local_candidates(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
268 SIPE_UNUSED_PARAMETER struct sipe_backend_stream *stream) { return(NULL); }
269 void sipe_backend_media_accept(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
270 SIPE_UNUSED_PARAMETER gboolean local) {}
271 void sipe_backend_media_hangup(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
272 SIPE_UNUSED_PARAMETER gboolean local) {}
273 void sipe_backend_media_reject(SIPE_UNUSED_PARAMETER struct sipe_backend_media *media,
274 SIPE_UNUSED_PARAMETER gboolean local) {}
275 #endif
277 /** NETWORK ******************************************************************/
279 struct sipe_backend_listendata *sipe_backend_network_listen_range(SIPE_UNUSED_PARAMETER unsigned short port_min,
280 SIPE_UNUSED_PARAMETER unsigned short port_max,
281 SIPE_UNUSED_PARAMETER sipe_listen_start_cb listen_cb,
282 SIPE_UNUSED_PARAMETER sipe_client_connected_cb connect_cb,
283 SIPE_UNUSED_PARAMETER gpointer data) { return(NULL); }
284 void sipe_backend_network_listen_cancel(SIPE_UNUSED_PARAMETER struct sipe_backend_listendata *ldata) {}
286 gboolean sipe_backend_fd_is_valid(SIPE_UNUSED_PARAMETER struct sipe_backend_fd *fd) { return(FALSE); }
287 void sipe_backend_fd_free(SIPE_UNUSED_PARAMETER struct sipe_backend_fd *fd) {}
289 /** NOTIFICATIONS *************************************************************/
291 void sipe_backend_notify_message_error(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
292 SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
293 SIPE_UNUSED_PARAMETER const gchar *who,
294 SIPE_UNUSED_PARAMETER const gchar *message) {}
295 void sipe_backend_notify_message_info(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
296 SIPE_UNUSED_PARAMETER struct sipe_backend_chat_session *backend_session,
297 SIPE_UNUSED_PARAMETER const gchar *who,
298 SIPE_UNUSED_PARAMETER const gchar *message) {}
299 void sipe_backend_notify_error(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
300 SIPE_UNUSED_PARAMETER const gchar *title,
301 SIPE_UNUSED_PARAMETER const gchar *msg) {}
303 /** USER *********************************************************************/
305 void sipe_backend_user_feedback_typing(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
306 SIPE_UNUSED_PARAMETER const gchar *from) {}
307 void sipe_backend_user_feedback_typing_stop(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
308 SIPE_UNUSED_PARAMETER const gchar *from) {}
309 void sipe_backend_user_ask(SIPE_UNUSED_PARAMETER struct sipe_core_public *sipe_public,
310 SIPE_UNUSED_PARAMETER const gchar *message,
311 SIPE_UNUSED_PARAMETER const gchar *accept_label,
312 SIPE_UNUSED_PARAMETER const gchar *decline_label,
313 SIPE_UNUSED_PARAMETER gpointer key) {}
314 void sipe_backend_user_close_ask(SIPE_UNUSED_PARAMETER gpointer key) {}
317 Local Variables:
318 mode: c
319 c-file-style: "bsd"
320 indent-tabs-mode: t
321 tab-width: 8
322 End: