2 * @file telepathy-stubs.c
6 * Copyright (C) 2012-2018 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
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 ********************************************************************/
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_media_set_require_encryption(SIPE_UNUSED_PARAMETER
struct sipe_media_call
*media
,
213 SIPE_UNUSED_PARAMETER
struct sipe_media_stream
*stream
,
214 SIPE_UNUSED_PARAMETER
const gboolean require_encryption
) {}
215 void sipe_backend_stream_hold(SIPE_UNUSED_PARAMETER
struct sipe_media_call
*media
,
216 SIPE_UNUSED_PARAMETER
struct sipe_media_stream
*stream
,
217 SIPE_UNUSED_PARAMETER gboolean local
) {}
218 void sipe_backend_stream_unhold(SIPE_UNUSED_PARAMETER
struct sipe_media_call
*media
,
219 SIPE_UNUSED_PARAMETER
struct sipe_media_stream
*stream
,
220 SIPE_UNUSED_PARAMETER gboolean local
) {}
221 gboolean
sipe_backend_stream_is_held(SIPE_UNUSED_PARAMETER
struct sipe_media_stream
*stream
) { return(FALSE
); }
222 void sipe_backend_media_stream_end(SIPE_UNUSED_PARAMETER
struct sipe_media_call
*media
,
223 SIPE_UNUSED_PARAMETER
struct sipe_media_stream
*stream
) {}
224 void sipe_backend_media_stream_free(SIPE_UNUSED_PARAMETER
struct sipe_backend_media_stream
*stream
) {}
225 struct sipe_backend_codec
*sipe_backend_codec_new(SIPE_UNUSED_PARAMETER
int id
,
226 SIPE_UNUSED_PARAMETER
const char *name
,
227 SIPE_UNUSED_PARAMETER SipeMediaType type
,
228 SIPE_UNUSED_PARAMETER guint clock_rate
,
229 SIPE_UNUSED_PARAMETER guint channels
) { return(NULL
); }
230 void sipe_backend_codec_free(SIPE_UNUSED_PARAMETER
struct sipe_backend_codec
*codec
) {}
231 int sipe_backend_codec_get_id(SIPE_UNUSED_PARAMETER
struct sipe_backend_codec
*codec
) { return(0); }
232 gchar
*sipe_backend_codec_get_name(SIPE_UNUSED_PARAMETER
struct sipe_backend_codec
*codec
) { return(g_strdup("")); }
233 guint
sipe_backend_codec_get_clock_rate(SIPE_UNUSED_PARAMETER
struct sipe_backend_codec
*codec
) { return(0); }
234 void sipe_backend_codec_add_optional_parameter(SIPE_UNUSED_PARAMETER
struct sipe_backend_codec
*codec
,
235 SIPE_UNUSED_PARAMETER
const gchar
*name
,
236 SIPE_UNUSED_PARAMETER
const gchar
*value
) {}
237 GList
*sipe_backend_codec_get_optional_parameters(SIPE_UNUSED_PARAMETER
struct sipe_backend_codec
*codec
) { return(NULL
); }
238 gboolean
sipe_backend_set_remote_codecs(SIPE_UNUSED_PARAMETER
struct sipe_media_call
*media
,
239 SIPE_UNUSED_PARAMETER
struct sipe_media_stream
*stream
,
240 SIPE_UNUSED_PARAMETER GList
*codecs
) { return(FALSE
); }
241 GList
* sipe_backend_get_local_codecs(SIPE_UNUSED_PARAMETER
struct sipe_media_call
*media
,
242 SIPE_UNUSED_PARAMETER
struct sipe_media_stream
*stream
) { return(NULL
); }
243 struct sipe_backend_candidate
* sipe_backend_candidate_new(SIPE_UNUSED_PARAMETER
const gchar
*foundation
,
244 SIPE_UNUSED_PARAMETER SipeComponentType component
,
245 SIPE_UNUSED_PARAMETER SipeCandidateType type
,
246 SIPE_UNUSED_PARAMETER SipeNetworkProtocol proto
,
247 SIPE_UNUSED_PARAMETER
const gchar
*ip
,
248 SIPE_UNUSED_PARAMETER guint port
,
249 SIPE_UNUSED_PARAMETER
const gchar
*username
,
250 SIPE_UNUSED_PARAMETER
const gchar
*password
) { return(NULL
); }
251 void sipe_backend_candidate_free(SIPE_UNUSED_PARAMETER
struct sipe_backend_candidate
*candidate
) {}
252 gchar
*sipe_backend_candidate_get_username(SIPE_UNUSED_PARAMETER
struct sipe_backend_candidate
*candidate
) { return(g_strdup("")); }
253 gchar
*sipe_backend_candidate_get_password(SIPE_UNUSED_PARAMETER
struct sipe_backend_candidate
*candidate
) { return(g_strdup("")); }
254 gchar
*sipe_backend_candidate_get_foundation(SIPE_UNUSED_PARAMETER
struct sipe_backend_candidate
*candidate
) { return(g_strdup("")); }
255 gchar
*sipe_backend_candidate_get_ip(SIPE_UNUSED_PARAMETER
struct sipe_backend_candidate
*candidate
) { return(g_strdup("127.0.0.1")); }
256 guint
sipe_backend_candidate_get_port(SIPE_UNUSED_PARAMETER
struct sipe_backend_candidate
*candidate
) { return(0); }
257 gchar
*sipe_backend_candidate_get_base_ip(SIPE_UNUSED_PARAMETER
struct sipe_backend_candidate
*candidate
) { return(g_strdup("127.0.0.1")); }
258 guint
sipe_backend_candidate_get_base_port(SIPE_UNUSED_PARAMETER
struct sipe_backend_candidate
*candidate
) { return(0); }
259 guint32
sipe_backend_candidate_get_priority(SIPE_UNUSED_PARAMETER
struct sipe_backend_candidate
*candidate
) { return(0); }
260 void sipe_backend_candidate_set_priority(SIPE_UNUSED_PARAMETER
struct sipe_backend_candidate
*candidate
,
261 SIPE_UNUSED_PARAMETER guint32 priority
) {}
262 SipeComponentType
sipe_backend_candidate_get_component_type(SIPE_UNUSED_PARAMETER
struct sipe_backend_candidate
*candidate
) { return(SIPE_COMPONENT_NONE
); }
263 SipeCandidateType
sipe_backend_candidate_get_type(SIPE_UNUSED_PARAMETER
struct sipe_backend_candidate
*candidate
) { return(SIPE_CANDIDATE_TYPE_ANY
); }
264 SipeNetworkProtocol
sipe_backend_candidate_get_protocol(SIPE_UNUSED_PARAMETER
struct sipe_backend_candidate
*candidate
) { return(SIPE_NETWORK_PROTOCOL_TCP_ACTIVE
); }
265 GList
* sipe_backend_get_local_candidates(SIPE_UNUSED_PARAMETER
struct sipe_media_call
*media
,
266 SIPE_UNUSED_PARAMETER
struct sipe_media_stream
*stream
) { return(NULL
); }
267 void sipe_backend_media_accept(SIPE_UNUSED_PARAMETER
struct sipe_backend_media
*media
,
268 SIPE_UNUSED_PARAMETER gboolean local
) {}
269 void sipe_backend_media_hangup(SIPE_UNUSED_PARAMETER
struct sipe_backend_media
*media
,
270 SIPE_UNUSED_PARAMETER gboolean local
) {}
271 void sipe_backend_media_reject(SIPE_UNUSED_PARAMETER
struct sipe_backend_media
*media
,
272 SIPE_UNUSED_PARAMETER gboolean local
) {}
273 SipeEncryptionPolicy
sipe_backend_media_get_encryption_policy(SIPE_UNUSED_PARAMETER
struct sipe_core_public
*sipe_public
) { return(SIPE_ENCRYPTION_POLICY_REJECTED
); }
274 gssize
sipe_backend_media_stream_read(SIPE_UNUSED_PARAMETER
struct sipe_media_stream
*stream
,
275 SIPE_UNUSED_PARAMETER guint8
*buffer
,
276 SIPE_UNUSED_PARAMETER gsize len
) { return(-1); }
277 gssize
sipe_backend_media_stream_write(SIPE_UNUSED_PARAMETER
struct sipe_media_stream
*stream
,
278 SIPE_UNUSED_PARAMETER guint8
*buffer
,
279 SIPE_UNUSED_PARAMETER gsize len
) { return(-1); }
282 /** NETWORK ******************************************************************/
284 struct sipe_backend_listendata
*sipe_backend_network_listen_range(SIPE_UNUSED_PARAMETER
unsigned short port_min
,
285 SIPE_UNUSED_PARAMETER
unsigned short port_max
,
286 SIPE_UNUSED_PARAMETER sipe_listen_start_cb listen_cb
,
287 SIPE_UNUSED_PARAMETER sipe_client_connected_cb connect_cb
,
288 SIPE_UNUSED_PARAMETER gpointer data
) { return(NULL
); }
289 void sipe_backend_network_listen_cancel(SIPE_UNUSED_PARAMETER
struct sipe_backend_listendata
*ldata
) {}
291 struct sipe_backend_fd
*sipe_backend_fd_from_int(SIPE_UNUSED_PARAMETER
int fd
) { return (NULL
); }
292 gboolean
sipe_backend_fd_is_valid(SIPE_UNUSED_PARAMETER
struct sipe_backend_fd
*fd
) { return(FALSE
); }
293 void sipe_backend_fd_free(SIPE_UNUSED_PARAMETER
struct sipe_backend_fd
*fd
) {}
295 /** NOTIFICATIONS *************************************************************/
297 void sipe_backend_notify_message_error(SIPE_UNUSED_PARAMETER
struct sipe_core_public
*sipe_public
,
298 SIPE_UNUSED_PARAMETER
struct sipe_backend_chat_session
*backend_session
,
299 SIPE_UNUSED_PARAMETER
const gchar
*who
,
300 SIPE_UNUSED_PARAMETER
const gchar
*message
) {}
301 void sipe_backend_notify_message_info(SIPE_UNUSED_PARAMETER
struct sipe_core_public
*sipe_public
,
302 SIPE_UNUSED_PARAMETER
struct sipe_backend_chat_session
*backend_session
,
303 SIPE_UNUSED_PARAMETER
const gchar
*who
,
304 SIPE_UNUSED_PARAMETER
const gchar
*message
) {}
305 void sipe_backend_notify_error(SIPE_UNUSED_PARAMETER
struct sipe_core_public
*sipe_public
,
306 SIPE_UNUSED_PARAMETER
const gchar
*title
,
307 SIPE_UNUSED_PARAMETER
const gchar
*msg
) {}
309 /** USER *********************************************************************/
311 void sipe_backend_user_feedback_typing(SIPE_UNUSED_PARAMETER
struct sipe_core_public
*sipe_public
,
312 SIPE_UNUSED_PARAMETER
const gchar
*from
) {}
313 void sipe_backend_user_feedback_typing_stop(SIPE_UNUSED_PARAMETER
struct sipe_core_public
*sipe_public
,
314 SIPE_UNUSED_PARAMETER
const gchar
*from
) {}
315 void sipe_backend_user_ask(SIPE_UNUSED_PARAMETER
struct sipe_core_public
*sipe_public
,
316 SIPE_UNUSED_PARAMETER
const gchar
*message
,
317 SIPE_UNUSED_PARAMETER
const gchar
*accept_label
,
318 SIPE_UNUSED_PARAMETER
const gchar
*decline_label
,
319 SIPE_UNUSED_PARAMETER gpointer key
) {}
320 void sipe_backend_user_ask_choice(SIPE_UNUSED_PARAMETER
struct sipe_core_public
*sipe_public
,
321 SIPE_UNUSED_PARAMETER
const gchar
*message
,
322 SIPE_UNUSED_PARAMETER GSList
*choices
,
323 SIPE_UNUSED_PARAMETER gpointer key
) {}
324 void sipe_backend_user_close_ask(SIPE_UNUSED_PARAMETER gpointer key
) {}