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