|
1 /* |
|
2 * gabble-muc-channel-glue.h |
|
3 * |
|
4 * Copyright (C) 2006 Collabora Ltd. |
|
5 * |
|
6 * |
|
7 * This library is free software; you can redistribute it and/or |
|
8 * modify it under the terms of the GNU Lesser General Public |
|
9 * License as published by the Free Software Foundation; either |
|
10 * version 2.1 of the License, or (at your option) any later version. |
|
11 * |
|
12 * This library is distributed in the hope that it will be useful, |
|
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
15 * Lesser General Public License for more details. |
|
16 * |
|
17 * You should have received a copy of the GNU Lesser General Public |
|
18 * License along with this library; if not, write to the Free Software |
|
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
|
20 * |
|
21 * |
|
22 */ |
|
23 /* Generated by dbus-binding-tool; do not edit! */ |
|
24 |
|
25 |
|
26 #ifndef __dbus_glib_marshal_gabble_muc_channel_MARSHAL_H__ |
|
27 #define __dbus_glib_marshal_gabble_muc_channel_MARSHAL_H__ |
|
28 |
|
29 #include <glib-object.h> |
|
30 |
|
31 G_BEGIN_DECLS |
|
32 |
|
33 #ifdef G_ENABLE_DEBUG |
|
34 #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) |
|
35 #define g_marshal_value_peek_char(v) g_value_get_char (v) |
|
36 #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) |
|
37 #define g_marshal_value_peek_int(v) g_value_get_int (v) |
|
38 #define g_marshal_value_peek_uint(v) g_value_get_uint (v) |
|
39 #define g_marshal_value_peek_long(v) g_value_get_long (v) |
|
40 #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) |
|
41 #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) |
|
42 #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) |
|
43 #define g_marshal_value_peek_enum(v) g_value_get_enum (v) |
|
44 #define g_marshal_value_peek_flags(v) g_value_get_flags (v) |
|
45 #define g_marshal_value_peek_float(v) g_value_get_float (v) |
|
46 #define g_marshal_value_peek_double(v) g_value_get_double (v) |
|
47 #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) |
|
48 #define g_marshal_value_peek_param(v) g_value_get_param (v) |
|
49 #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) |
|
50 #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) |
|
51 #define g_marshal_value_peek_object(v) g_value_get_object (v) |
|
52 #else /* !G_ENABLE_DEBUG */ |
|
53 /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. |
|
54 * Do not access GValues directly in your code. Instead, use the |
|
55 * g_value_get_*() functions |
|
56 */ |
|
57 #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int |
|
58 #define g_marshal_value_peek_char(v) (v)->data[0].v_int |
|
59 #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint |
|
60 #define g_marshal_value_peek_int(v) (v)->data[0].v_int |
|
61 #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint |
|
62 #define g_marshal_value_peek_long(v) (v)->data[0].v_long |
|
63 #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong |
|
64 #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 |
|
65 #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 |
|
66 #define g_marshal_value_peek_enum(v) (v)->data[0].v_long |
|
67 #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong |
|
68 #define g_marshal_value_peek_float(v) (v)->data[0].v_float |
|
69 #define g_marshal_value_peek_double(v) (v)->data[0].v_double |
|
70 #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer |
|
71 #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer |
|
72 #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer |
|
73 #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer |
|
74 #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer |
|
75 #endif /* !G_ENABLE_DEBUG */ |
|
76 |
|
77 |
|
78 /* BOOLEAN:POINTER,POINTER (/tmp/dbus-binding-tool-c-marshallers.U374HT:1) */ |
|
79 extern void dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER (GClosure *closure, |
|
80 GValue *return_value, |
|
81 guint n_param_values, |
|
82 const GValue *param_values, |
|
83 gpointer invocation_hint, |
|
84 gpointer marshal_data); |
|
85 void |
|
86 dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER (GClosure *closure, |
|
87 GValue *return_value, |
|
88 guint n_param_values, |
|
89 const GValue *param_values, |
|
90 gpointer invocation_hint, |
|
91 gpointer marshal_data) |
|
92 { |
|
93 typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER_POINTER) (gpointer data1, |
|
94 gpointer arg_1, |
|
95 gpointer arg_2, |
|
96 gpointer data2); |
|
97 register GMarshalFunc_BOOLEAN__POINTER_POINTER callback; |
|
98 register GCClosure *cc = (GCClosure*) closure; |
|
99 register gpointer data1, data2; |
|
100 gboolean v_return; |
|
101 |
|
102 g_return_if_fail (return_value != NULL); |
|
103 g_return_if_fail (n_param_values == 3); |
|
104 |
|
105 if (G_CCLOSURE_SWAP_DATA (closure)) |
|
106 { |
|
107 data1 = closure->data; |
|
108 data2 = g_value_peek_pointer (param_values + 0); |
|
109 } |
|
110 else |
|
111 { |
|
112 data1 = g_value_peek_pointer (param_values + 0); |
|
113 data2 = closure->data; |
|
114 } |
|
115 callback = (GMarshalFunc_BOOLEAN__POINTER_POINTER) (marshal_data ? marshal_data : cc->callback); |
|
116 |
|
117 v_return = callback (data1, |
|
118 g_marshal_value_peek_pointer (param_values + 1), |
|
119 g_marshal_value_peek_pointer (param_values + 2), |
|
120 data2); |
|
121 |
|
122 g_value_set_boolean (return_value, v_return); |
|
123 } |
|
124 |
|
125 /* BOOLEAN:POINTER,POINTER,POINTER (/tmp/dbus-binding-tool-c-marshallers.U374HT:2) */ |
|
126 extern void dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER_POINTER (GClosure *closure, |
|
127 GValue *return_value, |
|
128 guint n_param_values, |
|
129 const GValue *param_values, |
|
130 gpointer invocation_hint, |
|
131 gpointer marshal_data); |
|
132 void |
|
133 dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER_POINTER (GClosure *closure, |
|
134 GValue *return_value, |
|
135 guint n_param_values, |
|
136 const GValue *param_values, |
|
137 gpointer invocation_hint, |
|
138 gpointer marshal_data) |
|
139 { |
|
140 typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER_POINTER_POINTER) (gpointer data1, |
|
141 gpointer arg_1, |
|
142 gpointer arg_2, |
|
143 gpointer arg_3, |
|
144 gpointer data2); |
|
145 register GMarshalFunc_BOOLEAN__POINTER_POINTER_POINTER callback; |
|
146 register GCClosure *cc = (GCClosure*) closure; |
|
147 register gpointer data1, data2; |
|
148 gboolean v_return; |
|
149 |
|
150 g_return_if_fail (return_value != NULL); |
|
151 g_return_if_fail (n_param_values == 4); |
|
152 |
|
153 if (G_CCLOSURE_SWAP_DATA (closure)) |
|
154 { |
|
155 data1 = closure->data; |
|
156 data2 = g_value_peek_pointer (param_values + 0); |
|
157 } |
|
158 else |
|
159 { |
|
160 data1 = g_value_peek_pointer (param_values + 0); |
|
161 data2 = closure->data; |
|
162 } |
|
163 callback = (GMarshalFunc_BOOLEAN__POINTER_POINTER_POINTER) (marshal_data ? marshal_data : cc->callback); |
|
164 |
|
165 v_return = callback (data1, |
|
166 g_marshal_value_peek_pointer (param_values + 1), |
|
167 g_marshal_value_peek_pointer (param_values + 2), |
|
168 g_marshal_value_peek_pointer (param_values + 3), |
|
169 data2); |
|
170 |
|
171 g_value_set_boolean (return_value, v_return); |
|
172 } |
|
173 |
|
174 /* BOOLEAN:BOXED,STRING,POINTER (/tmp/dbus-binding-tool-c-marshallers.U374HT:3) */ |
|
175 extern void dbus_glib_marshal_gabble_muc_channel_BOOLEAN__BOXED_STRING_POINTER (GClosure *closure, |
|
176 GValue *return_value, |
|
177 guint n_param_values, |
|
178 const GValue *param_values, |
|
179 gpointer invocation_hint, |
|
180 gpointer marshal_data); |
|
181 void |
|
182 dbus_glib_marshal_gabble_muc_channel_BOOLEAN__BOXED_STRING_POINTER (GClosure *closure, |
|
183 GValue *return_value, |
|
184 guint n_param_values, |
|
185 const GValue *param_values, |
|
186 gpointer invocation_hint, |
|
187 gpointer marshal_data) |
|
188 { |
|
189 typedef gboolean (*GMarshalFunc_BOOLEAN__BOXED_STRING_POINTER) (gpointer data1, |
|
190 gpointer arg_1, |
|
191 gpointer arg_2, |
|
192 gpointer arg_3, |
|
193 gpointer data2); |
|
194 register GMarshalFunc_BOOLEAN__BOXED_STRING_POINTER callback; |
|
195 register GCClosure *cc = (GCClosure*) closure; |
|
196 register gpointer data1, data2; |
|
197 gboolean v_return; |
|
198 |
|
199 g_return_if_fail (return_value != NULL); |
|
200 g_return_if_fail (n_param_values == 4); |
|
201 |
|
202 if (G_CCLOSURE_SWAP_DATA (closure)) |
|
203 { |
|
204 data1 = closure->data; |
|
205 data2 = g_value_peek_pointer (param_values + 0); |
|
206 } |
|
207 else |
|
208 { |
|
209 data1 = g_value_peek_pointer (param_values + 0); |
|
210 data2 = closure->data; |
|
211 } |
|
212 callback = (GMarshalFunc_BOOLEAN__BOXED_STRING_POINTER) (marshal_data ? marshal_data : cc->callback); |
|
213 |
|
214 v_return = callback (data1, |
|
215 g_marshal_value_peek_boxed (param_values + 1), |
|
216 g_marshal_value_peek_string (param_values + 2), |
|
217 g_marshal_value_peek_pointer (param_values + 3), |
|
218 data2); |
|
219 |
|
220 g_value_set_boolean (return_value, v_return); |
|
221 } |
|
222 |
|
223 /* BOOLEAN:BOXED,POINTER (/tmp/dbus-binding-tool-c-marshallers.U374HT:4) */ |
|
224 extern void dbus_glib_marshal_gabble_muc_channel_BOOLEAN__BOXED_POINTER (GClosure *closure, |
|
225 GValue *return_value, |
|
226 guint n_param_values, |
|
227 const GValue *param_values, |
|
228 gpointer invocation_hint, |
|
229 gpointer marshal_data); |
|
230 void |
|
231 dbus_glib_marshal_gabble_muc_channel_BOOLEAN__BOXED_POINTER (GClosure *closure, |
|
232 GValue *return_value, |
|
233 guint n_param_values, |
|
234 const GValue *param_values, |
|
235 gpointer invocation_hint, |
|
236 gpointer marshal_data) |
|
237 { |
|
238 typedef gboolean (*GMarshalFunc_BOOLEAN__BOXED_POINTER) (gpointer data1, |
|
239 gpointer arg_1, |
|
240 gpointer arg_2, |
|
241 gpointer data2); |
|
242 register GMarshalFunc_BOOLEAN__BOXED_POINTER callback; |
|
243 register GCClosure *cc = (GCClosure*) closure; |
|
244 register gpointer data1, data2; |
|
245 gboolean v_return; |
|
246 |
|
247 g_return_if_fail (return_value != NULL); |
|
248 g_return_if_fail (n_param_values == 3); |
|
249 |
|
250 if (G_CCLOSURE_SWAP_DATA (closure)) |
|
251 { |
|
252 data1 = closure->data; |
|
253 data2 = g_value_peek_pointer (param_values + 0); |
|
254 } |
|
255 else |
|
256 { |
|
257 data1 = g_value_peek_pointer (param_values + 0); |
|
258 data2 = closure->data; |
|
259 } |
|
260 callback = (GMarshalFunc_BOOLEAN__BOXED_POINTER) (marshal_data ? marshal_data : cc->callback); |
|
261 |
|
262 v_return = callback (data1, |
|
263 g_marshal_value_peek_boxed (param_values + 1), |
|
264 g_marshal_value_peek_pointer (param_values + 2), |
|
265 data2); |
|
266 |
|
267 g_value_set_boolean (return_value, v_return); |
|
268 } |
|
269 |
|
270 /* NONE:STRING,POINTER (/tmp/dbus-binding-tool-c-marshallers.U374HT:5) */ |
|
271 extern void dbus_glib_marshal_gabble_muc_channel_VOID__STRING_POINTER (GClosure *closure, |
|
272 GValue *return_value, |
|
273 guint n_param_values, |
|
274 const GValue *param_values, |
|
275 gpointer invocation_hint, |
|
276 gpointer marshal_data); |
|
277 void |
|
278 dbus_glib_marshal_gabble_muc_channel_VOID__STRING_POINTER (GClosure *closure, |
|
279 GValue *return_value, |
|
280 guint n_param_values, |
|
281 const GValue *param_values, |
|
282 gpointer invocation_hint, |
|
283 gpointer marshal_data) |
|
284 { |
|
285 typedef void (*GMarshalFunc_VOID__STRING_POINTER) (gpointer data1, |
|
286 gpointer arg_1, |
|
287 gpointer arg_2, |
|
288 gpointer data2); |
|
289 register GMarshalFunc_VOID__STRING_POINTER callback; |
|
290 register GCClosure *cc = (GCClosure*) closure; |
|
291 register gpointer data1, data2; |
|
292 |
|
293 g_return_if_fail (n_param_values == 3); |
|
294 |
|
295 if (G_CCLOSURE_SWAP_DATA (closure)) |
|
296 { |
|
297 data1 = closure->data; |
|
298 data2 = g_value_peek_pointer (param_values + 0); |
|
299 } |
|
300 else |
|
301 { |
|
302 data1 = g_value_peek_pointer (param_values + 0); |
|
303 data2 = closure->data; |
|
304 } |
|
305 callback = (GMarshalFunc_VOID__STRING_POINTER) (marshal_data ? marshal_data : cc->callback); |
|
306 |
|
307 callback (data1, |
|
308 g_marshal_value_peek_string (param_values + 1), |
|
309 g_marshal_value_peek_pointer (param_values + 2), |
|
310 data2); |
|
311 } |
|
312 #define dbus_glib_marshal_gabble_muc_channel_NONE__STRING_POINTER dbus_glib_marshal_gabble_muc_channel_VOID__STRING_POINTER |
|
313 |
|
314 /* BOOLEAN:UINT,STRING,POINTER (/tmp/dbus-binding-tool-c-marshallers.U374HT:6) */ |
|
315 extern void dbus_glib_marshal_gabble_muc_channel_BOOLEAN__UINT_STRING_POINTER (GClosure *closure, |
|
316 GValue *return_value, |
|
317 guint n_param_values, |
|
318 const GValue *param_values, |
|
319 gpointer invocation_hint, |
|
320 gpointer marshal_data); |
|
321 void |
|
322 dbus_glib_marshal_gabble_muc_channel_BOOLEAN__UINT_STRING_POINTER (GClosure *closure, |
|
323 GValue *return_value, |
|
324 guint n_param_values, |
|
325 const GValue *param_values, |
|
326 gpointer invocation_hint, |
|
327 gpointer marshal_data) |
|
328 { |
|
329 typedef gboolean (*GMarshalFunc_BOOLEAN__UINT_STRING_POINTER) (gpointer data1, |
|
330 guint arg_1, |
|
331 gpointer arg_2, |
|
332 gpointer arg_3, |
|
333 gpointer data2); |
|
334 register GMarshalFunc_BOOLEAN__UINT_STRING_POINTER callback; |
|
335 register GCClosure *cc = (GCClosure*) closure; |
|
336 register gpointer data1, data2; |
|
337 gboolean v_return; |
|
338 |
|
339 g_return_if_fail (return_value != NULL); |
|
340 g_return_if_fail (n_param_values == 4); |
|
341 |
|
342 if (G_CCLOSURE_SWAP_DATA (closure)) |
|
343 { |
|
344 data1 = closure->data; |
|
345 data2 = g_value_peek_pointer (param_values + 0); |
|
346 } |
|
347 else |
|
348 { |
|
349 data1 = g_value_peek_pointer (param_values + 0); |
|
350 data2 = closure->data; |
|
351 } |
|
352 callback = (GMarshalFunc_BOOLEAN__UINT_STRING_POINTER) (marshal_data ? marshal_data : cc->callback); |
|
353 |
|
354 v_return = callback (data1, |
|
355 g_marshal_value_peek_uint (param_values + 1), |
|
356 g_marshal_value_peek_string (param_values + 2), |
|
357 g_marshal_value_peek_pointer (param_values + 3), |
|
358 data2); |
|
359 |
|
360 g_value_set_boolean (return_value, v_return); |
|
361 } |
|
362 |
|
363 /* BOOLEAN:BOXED,POINTER,POINTER (/tmp/dbus-binding-tool-c-marshallers.U374HT:7) */ |
|
364 extern void dbus_glib_marshal_gabble_muc_channel_BOOLEAN__BOXED_POINTER_POINTER (GClosure *closure, |
|
365 GValue *return_value, |
|
366 guint n_param_values, |
|
367 const GValue *param_values, |
|
368 gpointer invocation_hint, |
|
369 gpointer marshal_data); |
|
370 void |
|
371 dbus_glib_marshal_gabble_muc_channel_BOOLEAN__BOXED_POINTER_POINTER (GClosure *closure, |
|
372 GValue *return_value, |
|
373 guint n_param_values, |
|
374 const GValue *param_values, |
|
375 gpointer invocation_hint, |
|
376 gpointer marshal_data) |
|
377 { |
|
378 typedef gboolean (*GMarshalFunc_BOOLEAN__BOXED_POINTER_POINTER) (gpointer data1, |
|
379 gpointer arg_1, |
|
380 gpointer arg_2, |
|
381 gpointer arg_3, |
|
382 gpointer data2); |
|
383 register GMarshalFunc_BOOLEAN__BOXED_POINTER_POINTER callback; |
|
384 register GCClosure *cc = (GCClosure*) closure; |
|
385 register gpointer data1, data2; |
|
386 gboolean v_return; |
|
387 |
|
388 g_return_if_fail (return_value != NULL); |
|
389 g_return_if_fail (n_param_values == 4); |
|
390 |
|
391 if (G_CCLOSURE_SWAP_DATA (closure)) |
|
392 { |
|
393 data1 = closure->data; |
|
394 data2 = g_value_peek_pointer (param_values + 0); |
|
395 } |
|
396 else |
|
397 { |
|
398 data1 = g_value_peek_pointer (param_values + 0); |
|
399 data2 = closure->data; |
|
400 } |
|
401 callback = (GMarshalFunc_BOOLEAN__BOXED_POINTER_POINTER) (marshal_data ? marshal_data : cc->callback); |
|
402 |
|
403 v_return = callback (data1, |
|
404 g_marshal_value_peek_boxed (param_values + 1), |
|
405 g_marshal_value_peek_pointer (param_values + 2), |
|
406 g_marshal_value_peek_pointer (param_values + 3), |
|
407 data2); |
|
408 |
|
409 g_value_set_boolean (return_value, v_return); |
|
410 } |
|
411 |
|
412 /* NONE:BOXED,POINTER (/tmp/dbus-binding-tool-c-marshallers.U374HT:8) */ |
|
413 extern void dbus_glib_marshal_gabble_muc_channel_VOID__BOXED_POINTER (GClosure *closure, |
|
414 GValue *return_value, |
|
415 guint n_param_values, |
|
416 const GValue *param_values, |
|
417 gpointer invocation_hint, |
|
418 gpointer marshal_data); |
|
419 void |
|
420 dbus_glib_marshal_gabble_muc_channel_VOID__BOXED_POINTER (GClosure *closure, |
|
421 GValue *return_value, |
|
422 guint n_param_values, |
|
423 const GValue *param_values, |
|
424 gpointer invocation_hint, |
|
425 gpointer marshal_data) |
|
426 { |
|
427 typedef void (*GMarshalFunc_VOID__BOXED_POINTER) (gpointer data1, |
|
428 gpointer arg_1, |
|
429 gpointer arg_2, |
|
430 gpointer data2); |
|
431 register GMarshalFunc_VOID__BOXED_POINTER callback; |
|
432 register GCClosure *cc = (GCClosure*) closure; |
|
433 register gpointer data1, data2; |
|
434 |
|
435 g_return_if_fail (n_param_values == 3); |
|
436 |
|
437 if (G_CCLOSURE_SWAP_DATA (closure)) |
|
438 { |
|
439 data1 = closure->data; |
|
440 data2 = g_value_peek_pointer (param_values + 0); |
|
441 } |
|
442 else |
|
443 { |
|
444 data1 = g_value_peek_pointer (param_values + 0); |
|
445 data2 = closure->data; |
|
446 } |
|
447 callback = (GMarshalFunc_VOID__BOXED_POINTER) (marshal_data ? marshal_data : cc->callback); |
|
448 |
|
449 callback (data1, |
|
450 g_marshal_value_peek_boxed (param_values + 1), |
|
451 g_marshal_value_peek_pointer (param_values + 2), |
|
452 data2); |
|
453 } |
|
454 #define dbus_glib_marshal_gabble_muc_channel_NONE__BOXED_POINTER dbus_glib_marshal_gabble_muc_channel_VOID__BOXED_POINTER |
|
455 |
|
456 /* BOOLEAN:POINTER (/tmp/dbus-binding-tool-c-marshallers.U374HT:9) */ |
|
457 extern void dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER (GClosure *closure, |
|
458 GValue *return_value, |
|
459 guint n_param_values, |
|
460 const GValue *param_values, |
|
461 gpointer invocation_hint, |
|
462 gpointer marshal_data); |
|
463 void |
|
464 dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER (GClosure *closure, |
|
465 GValue *return_value, |
|
466 guint n_param_values, |
|
467 const GValue *param_values, |
|
468 gpointer invocation_hint, |
|
469 gpointer marshal_data) |
|
470 { |
|
471 typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER) (gpointer data1, |
|
472 gpointer arg_1, |
|
473 gpointer data2); |
|
474 register GMarshalFunc_BOOLEAN__POINTER callback; |
|
475 register GCClosure *cc = (GCClosure*) closure; |
|
476 register gpointer data1, data2; |
|
477 gboolean v_return; |
|
478 |
|
479 g_return_if_fail (return_value != NULL); |
|
480 g_return_if_fail (n_param_values == 2); |
|
481 |
|
482 if (G_CCLOSURE_SWAP_DATA (closure)) |
|
483 { |
|
484 data1 = closure->data; |
|
485 data2 = g_value_peek_pointer (param_values + 0); |
|
486 } |
|
487 else |
|
488 { |
|
489 data1 = g_value_peek_pointer (param_values + 0); |
|
490 data2 = closure->data; |
|
491 } |
|
492 callback = (GMarshalFunc_BOOLEAN__POINTER) (marshal_data ? marshal_data : cc->callback); |
|
493 |
|
494 v_return = callback (data1, |
|
495 g_marshal_value_peek_pointer (param_values + 1), |
|
496 data2); |
|
497 |
|
498 g_value_set_boolean (return_value, v_return); |
|
499 } |
|
500 |
|
501 /* BOOLEAN:POINTER,POINTER,POINTER,POINTER (/tmp/dbus-binding-tool-c-marshallers.U374HT:10) */ |
|
502 extern void dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER_POINTER_POINTER (GClosure *closure, |
|
503 GValue *return_value, |
|
504 guint n_param_values, |
|
505 const GValue *param_values, |
|
506 gpointer invocation_hint, |
|
507 gpointer marshal_data); |
|
508 void |
|
509 dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER_POINTER_POINTER (GClosure *closure, |
|
510 GValue *return_value, |
|
511 guint n_param_values, |
|
512 const GValue *param_values, |
|
513 gpointer invocation_hint, |
|
514 gpointer marshal_data) |
|
515 { |
|
516 typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER_POINTER_POINTER_POINTER) (gpointer data1, |
|
517 gpointer arg_1, |
|
518 gpointer arg_2, |
|
519 gpointer arg_3, |
|
520 gpointer arg_4, |
|
521 gpointer data2); |
|
522 register GMarshalFunc_BOOLEAN__POINTER_POINTER_POINTER_POINTER callback; |
|
523 register GCClosure *cc = (GCClosure*) closure; |
|
524 register gpointer data1, data2; |
|
525 gboolean v_return; |
|
526 |
|
527 g_return_if_fail (return_value != NULL); |
|
528 g_return_if_fail (n_param_values == 5); |
|
529 |
|
530 if (G_CCLOSURE_SWAP_DATA (closure)) |
|
531 { |
|
532 data1 = closure->data; |
|
533 data2 = g_value_peek_pointer (param_values + 0); |
|
534 } |
|
535 else |
|
536 { |
|
537 data1 = g_value_peek_pointer (param_values + 0); |
|
538 data2 = closure->data; |
|
539 } |
|
540 callback = (GMarshalFunc_BOOLEAN__POINTER_POINTER_POINTER_POINTER) (marshal_data ? marshal_data : cc->callback); |
|
541 |
|
542 v_return = callback (data1, |
|
543 g_marshal_value_peek_pointer (param_values + 1), |
|
544 g_marshal_value_peek_pointer (param_values + 2), |
|
545 g_marshal_value_peek_pointer (param_values + 3), |
|
546 g_marshal_value_peek_pointer (param_values + 4), |
|
547 data2); |
|
548 |
|
549 g_value_set_boolean (return_value, v_return); |
|
550 } |
|
551 |
|
552 /* BOOLEAN:BOOLEAN,POINTER,POINTER (/tmp/dbus-binding-tool-c-marshallers.U374HT:11) */ |
|
553 extern void dbus_glib_marshal_gabble_muc_channel_BOOLEAN__BOOLEAN_POINTER_POINTER (GClosure *closure, |
|
554 GValue *return_value, |
|
555 guint n_param_values, |
|
556 const GValue *param_values, |
|
557 gpointer invocation_hint, |
|
558 gpointer marshal_data); |
|
559 void |
|
560 dbus_glib_marshal_gabble_muc_channel_BOOLEAN__BOOLEAN_POINTER_POINTER (GClosure *closure, |
|
561 GValue *return_value, |
|
562 guint n_param_values, |
|
563 const GValue *param_values, |
|
564 gpointer invocation_hint, |
|
565 gpointer marshal_data) |
|
566 { |
|
567 typedef gboolean (*GMarshalFunc_BOOLEAN__BOOLEAN_POINTER_POINTER) (gpointer data1, |
|
568 gboolean arg_1, |
|
569 gpointer arg_2, |
|
570 gpointer arg_3, |
|
571 gpointer data2); |
|
572 register GMarshalFunc_BOOLEAN__BOOLEAN_POINTER_POINTER callback; |
|
573 register GCClosure *cc = (GCClosure*) closure; |
|
574 register gpointer data1, data2; |
|
575 gboolean v_return; |
|
576 |
|
577 g_return_if_fail (return_value != NULL); |
|
578 g_return_if_fail (n_param_values == 4); |
|
579 |
|
580 if (G_CCLOSURE_SWAP_DATA (closure)) |
|
581 { |
|
582 data1 = closure->data; |
|
583 data2 = g_value_peek_pointer (param_values + 0); |
|
584 } |
|
585 else |
|
586 { |
|
587 data1 = g_value_peek_pointer (param_values + 0); |
|
588 data2 = closure->data; |
|
589 } |
|
590 callback = (GMarshalFunc_BOOLEAN__BOOLEAN_POINTER_POINTER) (marshal_data ? marshal_data : cc->callback); |
|
591 |
|
592 v_return = callback (data1, |
|
593 g_marshal_value_peek_boolean (param_values + 1), |
|
594 g_marshal_value_peek_pointer (param_values + 2), |
|
595 g_marshal_value_peek_pointer (param_values + 3), |
|
596 data2); |
|
597 |
|
598 g_value_set_boolean (return_value, v_return); |
|
599 } |
|
600 |
|
601 G_END_DECLS |
|
602 |
|
603 #endif /* __dbus_glib_marshal_gabble_muc_channel_MARSHAL_H__ */ |
|
604 |
|
605 #include <dbus/dbus-glib.h> |
|
606 static const DBusGMethodInfo dbus_glib_gabble_muc_channel_methods[] = { |
|
607 { (GCallback) gabble_muc_channel_close, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER, 0 }, |
|
608 { (GCallback) gabble_muc_channel_get_channel_type, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER, 43 }, |
|
609 { (GCallback) gabble_muc_channel_get_handle, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER_POINTER, 108 }, |
|
610 { (GCallback) gabble_muc_channel_get_interfaces, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER, 181 }, |
|
611 { (GCallback) gabble_muc_channel_add_members, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__BOXED_STRING_POINTER, 246 }, |
|
612 { (GCallback) gabble_muc_channel_get_all_members, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER_POINTER_POINTER, 336 }, |
|
613 { (GCallback) gabble_muc_channel_get_group_flags, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER, 445 }, |
|
614 { (GCallback) gabble_muc_channel_get_handle_owners, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__BOXED_POINTER_POINTER, 525 }, |
|
615 { (GCallback) gabble_muc_channel_get_local_pending_members, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER, 621 }, |
|
616 { (GCallback) gabble_muc_channel_get_members, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER, 711 }, |
|
617 { (GCallback) gabble_muc_channel_get_remote_pending_members, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER, 789 }, |
|
618 { (GCallback) gabble_muc_channel_get_self_handle, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER, 880 }, |
|
619 { (GCallback) gabble_muc_channel_remove_members, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__BOXED_STRING_POINTER, 960 }, |
|
620 { (GCallback) gabble_muc_channel_get_password_flags, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER, 1053 }, |
|
621 { (GCallback) gabble_muc_channel_provide_password, dbus_glib_marshal_gabble_muc_channel_NONE__STRING_POINTER, 1139 }, |
|
622 { (GCallback) gabble_muc_channel_acknowledge_pending_messages, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__BOXED_POINTER, 1237 }, |
|
623 { (GCallback) gabble_muc_channel_get_message_types, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER, 1320 }, |
|
624 { (GCallback) gabble_muc_channel_list_pending_messages, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__BOOLEAN_POINTER_POINTER, 1397 }, |
|
625 { (GCallback) gabble_muc_channel_send, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__UINT_STRING_POINTER, 1495 }, |
|
626 { (GCallback) gabble_muc_channel_get_properties, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__BOXED_POINTER_POINTER, 1565 }, |
|
627 { (GCallback) gabble_muc_channel_list_properties, dbus_glib_marshal_gabble_muc_channel_BOOLEAN__POINTER_POINTER, 1652 }, |
|
628 { (GCallback) gabble_muc_channel_set_properties, dbus_glib_marshal_gabble_muc_channel_NONE__BOXED_POINTER, 1726 }, |
|
629 }; |
|
630 |
|
631 const DBusGObjectInfo dbus_glib_gabble_muc_channel_object_info = { |
|
632 0, |
|
633 dbus_glib_gabble_muc_channel_methods, |
|
634 22, |
|
635 "org.freedesktop.Telepathy.Channel\0Close\0S\0\0org.freedesktop.Telepathy.Channel\0GetChannelType\0S\0arg0\0O\0F\0N\0s\0\0org.freedesktop.Telepathy.Channel\0GetHandle\0S\0arg0\0O\0F\0N\0u\0arg1\0O\0F\0N\0u\0\0org.freedesktop.Telepathy.Channel\0GetInterfaces\0S\0arg0\0O\0F\0N\0as\0\0org.freedesktop.Telepathy.Channel.Interface.Group\0AddMembers\0S\0contacts\0I\0au\0message\0I\0s\0\0org.freedesktop.Telepathy.Channel.Interface.Group\0GetAllMembers\0S\0arg0\0O\0F\0N\0au\0arg1\0O\0F\0N\0au\0arg2\0O\0F\0N\0au\0\0org.freedesktop.Telepathy.Channel.Interface.Group\0GetGroupFlags\0S\0arg0\0O\0F\0N\0u\0\0org.freedesktop.Telepathy.Channel.Interface.Group\0GetHandleOwners\0S\0handles\0I\0au\0arg1\0O\0F\0N\0au\0\0org.freedesktop.Telepathy.Channel.Interface.Group\0GetLocalPendingMembers\0S\0arg0\0O\0F\0N\0au\0\0org.freedesktop.Telepathy.Channel.Interface.Group\0GetMembers\0S\0arg0\0O\0F\0N\0au\0\0org.freedesktop.Telepathy.Channel.Interface.Group\0GetRemotePendingMembers\0S\0arg0\0O\0F\0N\0au\0\0org.freedesktop.Telepathy.Channel.Interface.Group\0GetSelfHandle\0S\0arg0\0O\0F\0N\0u\0\0org.freedesktop.Telepathy.Channel.Interface.Group\0RemoveMembers\0S\0contacts\0I\0au\0message\0I\0s\0\0org.freedesktop.Telepathy.Channel.Interface.Password\0GetPasswordFlags\0S\0arg0\0O\0F\0N\0u\0\0org.freedesktop.Telepathy.Channel.Interface.Password\0ProvidePassword\0A\0password\0I\0s\0arg1\0O\0F\0N\0b\0\0org.freedesktop.Telepathy.Channel.Type.Text\0AcknowledgePendingMessages\0S\0ids\0I\0au\0\0org.freedesktop.Telepathy.Channel.Type.Text\0GetMessageTypes\0S\0arg0\0O\0F\0N\0au\0\0org.freedesktop.Telepathy.Channel.Type.Text\0ListPendingMessages\0S\0clear\0I\0b\0arg1\0O\0F\0N\0a(uuuuus)\0\0org.freedesktop.Telepathy.Channel.Type.Text\0Send\0S\0type\0I\0u\0text\0I\0s\0\0org.freedesktop.Telepathy.Properties\0GetProperties\0S\0properties\0I\0au\0arg1\0O\0F\0N\0a(uv)\0\0org.freedesktop.Telepathy.Properties\0ListProperties\0S\0arg0\0O\0F\0N\0a(ussu)\0\0org.freedesktop.Telepathy.Properties\0SetProperties\0A\0properties\0I\0a(uv)\0\0\0", |
|
636 "org.freedesktop.Telepathy.Channel\0Closed\0org.freedesktop.Telepathy.Channel.Interface.Group\0GroupFlagsChanged\0org.freedesktop.Telepathy.Channel.Interface.Group\0MembersChanged\0org.freedesktop.Telepathy.Channel.Interface.Password\0PasswordFlagsChanged\0org.freedesktop.Telepathy.Channel.Type.Text\0LostMessage\0org.freedesktop.Telepathy.Channel.Type.Text\0Received\0org.freedesktop.Telepathy.Channel.Type.Text\0SendError\0org.freedesktop.Telepathy.Channel.Type.Text\0Sent\0org.freedesktop.Telepathy.Properties\0PropertiesChanged\0org.freedesktop.Telepathy.Properties\0PropertyFlagsChanged\0\0", |
|
637 "\0" |
|
638 }; |
|
639 |