]> git.0d.be Git - empathy.git/blob - python/pyempathy/pyempathy.defs
Add python binding. Fixes bug #457660 (Michael Sheldon).
[empathy.git] / python / pyempathy / pyempathy.defs
1 ;; -*- scheme -*-
2 ; interfaces
3
4 (define-interface ContactList
5   (in-module "Empathy")
6   (c-name "EmpathyContactList")
7   (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
8 )
9
10 ; object definitions ...
11 (define-object Chandler
12   (in-module "Empathy")
13   (parent "GObject")
14   (c-name "EmpathyChandler")
15   (gtype-id "EMPATHY_TYPE_CHANDLER")
16 )
17
18 (define-object Chatroom
19   (in-module "Empathy")
20   (parent "GObject")
21   (c-name "EmpathyChatroom")
22   (gtype-id "EMPATHY_TYPE_CHATROOM")
23 )
24
25 (define-object ChatroomManager
26   (in-module "Empathy")
27   (parent "GObject")
28   (c-name "EmpathyChatroomManager")
29   (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
30 )
31
32 (define-object Conf
33   (in-module "Empathy")
34   (parent "GObject")
35   (c-name "EmpathyConf")
36   (gtype-id "EMPATHY_TYPE_CONF")
37 )
38
39 (define-object Contact
40   (in-module "Empathy")
41   (parent "GObject")
42   (c-name "EmpathyContact")
43   (gtype-id "EMPATHY_TYPE_CONTACT")
44 )
45
46 (define-object ContactManager
47   (in-module "Empathy")
48   (parent "GObject")
49   (c-name "EmpathyContactManager")
50   (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
51   (implements "EmpathyContactList")
52 )
53
54 (define-object Filter
55   (in-module "Empathy")
56   (parent "GObject")
57   (c-name "EmpathyFilter")
58   (gtype-id "EMPATHY_TYPE_FILTER")
59 )
60
61 (define-object Idle
62   (in-module "Empathy")
63   (parent "GObject")
64   (c-name "EmpathyIdle")
65   (gtype-id "EMPATHY_TYPE_IDLE")
66 )
67
68 (define-object LogManager
69   (in-module "Empathy")
70   (parent "GObject")
71   (c-name "EmpathyLogManager")
72   (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
73 )
74
75 (define-object Message
76   (in-module "Empathy")
77   (parent "GObject")
78   (c-name "EmpathyMessage")
79   (gtype-id "EMPATHY_TYPE_MESSAGE")
80 )
81
82 (define-object Presence
83   (in-module "Empathy")
84   (parent "GObject")
85   (c-name "EmpathyPresence")
86   (gtype-id "EMPATHY_TYPE_PRESENCE")
87 )
88
89 (define-object TpChat
90   (in-module "Empathy")
91   (parent "GObject")
92   (c-name "EmpathyTpChat")
93   (gtype-id "EMPATHY_TYPE_TP_CHAT")
94 )
95
96 (define-object TpChatroom
97   (in-module "Empathy")
98   (parent "EmpathyTpChat")
99   (c-name "EmpathyTpChatroom")
100   (gtype-id "EMPATHY_TYPE_TP_CHATROOM")
101   (implements "EmpathyContactList")
102 )
103
104 (define-object TpContactList
105   (in-module "Empathy")
106   (parent "GObject")
107   (c-name "EmpathyTpContactList")
108   (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
109   (implements "EmpathyContactList")
110 )
111
112 (define-object TpGroup
113   (in-module "Empathy")
114   (parent "GObject")
115   (c-name "EmpathyTpGroup")
116   (gtype-id "EMPATHY_TYPE_TP_GROUP")
117 )
118
119 ;; Enumerations and flags ...
120
121 (define-flags Subscription
122   (in-module "Empathy")
123   (c-name "EmpathySubscription")
124   (gtype-id "EMPATHY_TYPE_SUBSCRIPTION")
125   (values
126     '("none" "EMPATHY_SUBSCRIPTION_NONE")
127     '("to" "EMPATHY_SUBSCRIPTION_TO")
128     '("from" "EMPATHY_SUBSCRIPTION_FROM")
129     '("both" "EMPATHY_SUBSCRIPTION_BOTH")
130   )
131 )
132
133 (define-enum MessageType
134   (in-module "Empathy")
135   (c-name "EmpathyMessageType")
136   (gtype-id "EMPATHY_TYPE_MESSAGE_TYPE")
137   (values
138     '("normal" "EMPATHY_MESSAGE_TYPE_NORMAL")
139     '("action" "EMPATHY_MESSAGE_TYPE_ACTION")
140     '("notice" "EMPATHY_MESSAGE_TYPE_NOTICE")
141     '("auto-reply" "EMPATHY_MESSAGE_TYPE_AUTO_REPLY")
142     '("last" "EMPATHY_MESSAGE_TYPE_LAST")
143   )
144 )
145
146 (define-enum RegExType
147   (in-module "Empathy")
148   (c-name "EmpathyRegExType")
149   (gtype-id "EMPATHY_TYPE_REG_EX_TYPE")
150   (values
151     '("as-is" "EMPATHY_REGEX_AS_IS")
152     '("browser" "EMPATHY_REGEX_BROWSER")
153     '("email" "EMPATHY_REGEX_EMAIL")
154     '("other" "EMPATHY_REGEX_OTHER")
155     '("all" "EMPATHY_REGEX_ALL")
156   )
157 )
158
159
160 ;; From empathy-avatar.h
161
162 (define-function empathy_avatar_get_gtype
163   (c-name "empathy_avatar_get_gtype")
164   (return-type "GType")
165 )
166
167 (define-function empathy_avatar_new
168   (c-name "empathy_avatar_new")
169   (is-constructor-of "EmpathyAvatar")
170   (return-type "EmpathyAvatar*")
171   (parameters
172     '("guchar*" "avatar")
173     '("gsize" "len")
174     '("gchar*" "format")
175   )
176 )
177
178 (define-method ref
179   (of-object "EmpathyAvatar")
180   (c-name "empathy_avatar_ref")
181   (return-type "EmpathyAvatar*")
182 )
183
184 (define-method unref
185   (of-object "EmpathyAvatar")
186   (c-name "empathy_avatar_unref")
187   (return-type "none")
188 )
189
190
191
192 ;; From empathy-chandler-glue.h
193
194 (define-function dbus_glib_marshal_empathy_chandler_BOOLEAN__STRING_BOXED_STRING_BOXED_UINT_UINT_POINTER
195   (c-name "dbus_glib_marshal_empathy_chandler_BOOLEAN__STRING_BOXED_STRING_BOXED_UINT_UINT_POINTER")
196   (return-type "none")
197   (parameters
198     '("GClosure*" "closure")
199     '("GValue*" "return_value")
200     '("guint" "n_param_values")
201     '("const-GValue*" "param_values")
202     '("gpointer" "invocation_hint")
203     '("gpointer" "marshal_data")
204   )
205 )
206
207
208
209 ;; From empathy-chandler.h
210
211 (define-function empathy_chandler_get_type
212   (c-name "empathy_chandler_get_type")
213   (return-type "GType")
214 )
215
216 (define-function empathy_chandler_new
217   (c-name "empathy_chandler_new")
218   (is-constructor-of "EmpathyChandler")
219   (return-type "EmpathyChandler*")
220   (parameters
221     '("const-gchar*" "bus_name")
222     '("const-gchar*" "object_path")
223   )
224 )
225
226
227
228 ;; From empathy-chatroom-manager.h
229
230 (define-function empathy_chatroom_manager_get_type
231   (c-name "empathy_chatroom_manager_get_type")
232   (return-type "GType")
233 )
234
235 (define-function empathy_chatroom_manager_new
236   (c-name "empathy_chatroom_manager_new")
237   (is-constructor-of "EmpathyChatroomManager")
238   (return-type "EmpathyChatroomManager*")
239 )
240
241 (define-method add
242   (of-object "EmpathyChatroomManager")
243   (c-name "empathy_chatroom_manager_add")
244   (return-type "gboolean")
245   (parameters
246     '("EmpathyChatroom*" "chatroom")
247   )
248 )
249
250 (define-method remove
251   (of-object "EmpathyChatroomManager")
252   (c-name "empathy_chatroom_manager_remove")
253   (return-type "none")
254   (parameters
255     '("EmpathyChatroom*" "chatroom")
256   )
257 )
258
259 (define-method find
260   (of-object "EmpathyChatroomManager")
261   (c-name "empathy_chatroom_manager_find")
262   (return-type "EmpathyChatroom*")
263   (parameters
264     '("McAccount*" "account")
265     '("const-gchar*" "room")
266   )
267 )
268
269 (define-method get_chatrooms
270   (of-object "EmpathyChatroomManager")
271   (c-name "empathy_chatroom_manager_get_chatrooms")
272   (return-type "GList*")
273   (parameters
274     '("McAccount*" "account")
275   )
276 )
277
278 (define-method get_count
279   (of-object "EmpathyChatroomManager")
280   (c-name "empathy_chatroom_manager_get_count")
281   (return-type "guint")
282   (parameters
283     '("McAccount*" "account")
284   )
285 )
286
287 (define-method store
288   (of-object "EmpathyChatroomManager")
289   (c-name "empathy_chatroom_manager_store")
290   (return-type "none")
291 )
292
293
294
295 ;; From empathy-chatroom.h
296
297 (define-function empathy_chatroom_get_type
298   (c-name "empathy_chatroom_get_type")
299   (return-type "GType")
300 )
301
302 (define-function empathy_chatroom_new
303   (c-name "empathy_chatroom_new")
304   (is-constructor-of "EmpathyChatroom")
305   (return-type "EmpathyChatroom*")
306   (parameters
307     '("McAccount*" "account")
308     '("const-gchar*" "room")
309   )
310 )
311
312 (define-function empathy_chatroom_new_full
313   (c-name "empathy_chatroom_new_full")
314   (return-type "EmpathyChatroom*")
315   (parameters
316     '("McAccount*" "account")
317     '("const-gchar*" "room")
318     '("const-gchar*" "name")
319     '("gboolean" "auto_connect")
320   )
321 )
322
323 (define-method get_account
324   (of-object "EmpathyChatroom")
325   (c-name "empathy_chatroom_get_account")
326   (return-type "McAccount*")
327 )
328
329 (define-method set_account
330   (of-object "EmpathyChatroom")
331   (c-name "empathy_chatroom_set_account")
332   (return-type "none")
333   (parameters
334     '("McAccount*" "account")
335   )
336 )
337
338 (define-method get_room
339   (of-object "EmpathyChatroom")
340   (c-name "empathy_chatroom_get_room")
341   (return-type "const-gchar*")
342 )
343
344 (define-method set_room
345   (of-object "EmpathyChatroom")
346   (c-name "empathy_chatroom_set_room")
347   (return-type "none")
348   (parameters
349     '("const-gchar*" "room")
350   )
351 )
352
353 (define-method get_name
354   (of-object "EmpathyChatroom")
355   (c-name "empathy_chatroom_get_name")
356   (return-type "const-gchar*")
357 )
358
359 (define-method set_name
360   (of-object "EmpathyChatroom")
361   (c-name "empathy_chatroom_set_name")
362   (return-type "none")
363   (parameters
364     '("const-gchar*" "name")
365   )
366 )
367
368 (define-method get_auto_connect
369   (of-object "EmpathyChatroom")
370   (c-name "empathy_chatroom_get_auto_connect")
371   (return-type "gboolean")
372 )
373
374 (define-method set_auto_connect
375   (of-object "EmpathyChatroom")
376   (c-name "empathy_chatroom_set_auto_connect")
377   (return-type "none")
378   (parameters
379     '("gboolean" "auto_connect")
380   )
381 )
382
383 (define-function empathy_chatroom_equal
384   (c-name "empathy_chatroom_equal")
385   (return-type "gboolean")
386   (parameters
387     '("gconstpointer" "v1")
388     '("gconstpointer" "v2")
389   )
390 )
391
392
393
394 ;; From empathy-conf.h
395
396 (define-function empathy_conf_get_type
397   (c-name "empathy_conf_get_type")
398   (return-type "GType")
399 )
400
401 (define-function empathy_conf_get
402   (c-name "empathy_conf_get")
403   (return-type "EmpathyConf*")
404 )
405
406 (define-function empathy_conf_shutdown
407   (c-name "empathy_conf_shutdown")
408   (return-type "none")
409 )
410
411 (define-method notify_add
412   (of-object "EmpathyConf")
413   (c-name "empathy_conf_notify_add")
414   (return-type "guint")
415   (parameters
416     '("const-gchar*" "key")
417     '("EmpathyConfNotifyFunc" "func")
418     '("gpointer" "data")
419   )
420 )
421
422 (define-method notify_remove
423   (of-object "EmpathyConf")
424   (c-name "empathy_conf_notify_remove")
425   (return-type "gboolean")
426   (parameters
427     '("guint" "id")
428   )
429 )
430
431 (define-method set_int
432   (of-object "EmpathyConf")
433   (c-name "empathy_conf_set_int")
434   (return-type "gboolean")
435   (parameters
436     '("const-gchar*" "key")
437     '("gint" "value")
438   )
439 )
440
441 (define-method get_int
442   (of-object "EmpathyConf")
443   (c-name "empathy_conf_get_int")
444   (return-type "gboolean")
445   (parameters
446     '("const-gchar*" "key")
447     '("gint*" "value")
448   )
449 )
450
451 (define-method set_bool
452   (of-object "EmpathyConf")
453   (c-name "empathy_conf_set_bool")
454   (return-type "gboolean")
455   (parameters
456     '("const-gchar*" "key")
457     '("gboolean" "value")
458   )
459 )
460
461 (define-method get_bool
462   (of-object "EmpathyConf")
463   (c-name "empathy_conf_get_bool")
464   (return-type "gboolean")
465   (parameters
466     '("const-gchar*" "key")
467     '("gboolean*" "value")
468   )
469 )
470
471 (define-method set_string
472   (of-object "EmpathyConf")
473   (c-name "empathy_conf_set_string")
474   (return-type "gboolean")
475   (parameters
476     '("const-gchar*" "key")
477     '("const-gchar*" "value")
478   )
479 )
480
481 (define-method get_string
482   (of-object "EmpathyConf")
483   (c-name "empathy_conf_get_string")
484   (return-type "gboolean")
485   (parameters
486     '("const-gchar*" "key")
487     '("gchar**" "value")
488   )
489 )
490
491 (define-method set_string_list
492   (of-object "EmpathyConf")
493   (c-name "empathy_conf_set_string_list")
494   (return-type "gboolean")
495   (parameters
496     '("const-gchar*" "key")
497     '("GSList*" "value")
498   )
499 )
500
501 (define-method get_string_list
502   (of-object "EmpathyConf")
503   (c-name "empathy_conf_get_string_list")
504   (return-type "gboolean")
505   (parameters
506     '("const-gchar*" "key")
507     '("GSList**" "value")
508   )
509 )
510
511
512
513 ;; From empathy-contact-list.h
514
515 (define-function contact_list_get_type
516   (c-name "empathy_contact_list_get_type")
517   (return-type "GType")
518 )
519
520 (define-method list_info_new
521   (of-object "EmpathyContact")
522   (c-name "empathy_contact_list_info_new")
523   (return-type "EmpathyContactListInfo*")
524   (parameters
525     '("const-gchar*" "message")
526   )
527 )
528
529 (define-method free
530   (of-object "EmpathyContactListInfo")
531   (c-name "empathy_contact_list_info_free")
532   (return-type "none")
533 )
534
535 (define-method setup
536   (of-object "EmpathyContactList")
537   (c-name "empathy_contact_list_setup")
538   (return-type "none")
539 )
540
541 (define-method find
542   (of-object "EmpathyContactList")
543   (c-name "empathy_contact_list_find")
544   (return-type "EmpathyContact*")
545   (parameters
546     '("const-gchar*" "id")
547   )
548 )
549
550 (define-method add
551   (of-object "EmpathyContactList")
552   (c-name "empathy_contact_list_add")
553   (return-type "none")
554   (parameters
555     '("EmpathyContact*" "contact")
556     '("const-gchar*" "message")
557   )
558 )
559
560 (define-method remove
561   (of-object "EmpathyContactList")
562   (c-name "empathy_contact_list_remove")
563   (return-type "none")
564   (parameters
565     '("EmpathyContact*" "contact")
566     '("const-gchar*" "message")
567   )
568 )
569
570 (define-method get_members
571   (of-object "EmpathyContactList")
572   (c-name "empathy_contact_list_get_members")
573   (return-type "GList*")
574 )
575
576 (define-method get_local_pending
577   (of-object "EmpathyContactList")
578   (c-name "empathy_contact_list_get_local_pending")
579   (return-type "GList*")
580 )
581
582 (define-method process_pending
583   (of-object "EmpathyContactList")
584   (c-name "empathy_contact_list_process_pending")
585   (return-type "none")
586   (parameters
587     '("EmpathyContact*" "contact")
588     '("gboolean" "accept")
589   )
590 )
591
592 (define-virtual setup
593   (of-object "EmpathyContactList")
594   (return-type "none")
595 )
596
597 (define-virtual find
598   (of-object "EmpathyContactList")
599   (return-type "EmpathyContact*")
600   (parameters
601     '("const-gchar*" "id")
602   )
603 )
604
605 (define-virtual add
606   (of-object "EmpathyContactList")
607   (return-type "none")
608   (parameters
609     '("EmpathyContact*" "contact")
610     '("const-gchar*" "message")
611   )
612 )
613
614 (define-virtual remove
615   (of-object "EmpathyContactList")
616   (return-type "none")
617   (parameters
618     '("EmpathyContact*" "contact")
619     '("const-gchar*" "message")
620   )
621 )
622
623 (define-virtual get_members
624   (of-object "EmpathyContactList")
625   (return-type "GList*")
626 )
627
628 (define-virtual get_local_pending
629   (of-object "EmpathyContactList")
630   (return-type "GList*")
631 )
632
633 (define-virtual process_pending
634   (of-object "EmpathyContactList")
635   (return-type "none")
636   (parameters
637     '("EmpathyContact*" "contact")
638     '("gboolean" "accept")
639   )
640 )
641
642 ;; From empathy-contact-manager.h
643
644 (define-function empathy_contact_manager_get_type
645   (c-name "empathy_contact_manager_get_type")
646   (return-type "GType")
647 )
648
649 (define-function empathy_contact_manager_new
650   (c-name "empathy_contact_manager_new")
651   (is-constructor-of "EmpathyContactManager")
652   (return-type "EmpathyContactManager*")
653 )
654
655 (define-method get_list
656   (of-object "EmpathyContactManager")
657   (c-name "empathy_contact_manager_get_list")
658   (return-type "EmpathyTpContactList*")
659   (parameters
660     '("McAccount*" "account")
661   )
662 )
663
664 (define-method get_user
665   (of-object "EmpathyContactManager")
666   (c-name "empathy_contact_manager_get_user")
667   (return-type "EmpathyContact*")
668   (parameters
669     '("McAccount*" "account")
670   )
671 )
672
673 (define-method create
674   (of-object "EmpathyContactManager")
675   (c-name "empathy_contact_manager_create")
676   (return-type "EmpathyContact*")
677   (parameters
678     '("McAccount*" "account")
679     '("const-gchar*" "id")
680   )
681 )
682
683 (define-method rename_group
684   (of-object "EmpathyContactManager")
685   (c-name "empathy_contact_manager_rename_group")
686   (return-type "none")
687   (parameters
688     '("const-gchar*" "old_group")
689     '("const-gchar*" "new_group")
690   )
691 )
692
693 (define-method get_groups
694   (of-object "EmpathyContactManager")
695   (c-name "empathy_contact_manager_get_groups")
696   (return-type "GList*")
697 )
698
699
700
701 ;; From empathy-contact.h
702
703 (define-function empathy_contact_get_gtype
704   (c-name "empathy_contact_get_gtype")
705   (return-type "GType")
706 )
707
708 (define-function empathy_contact_new
709   (c-name "empathy_contact_new")
710   (is-constructor-of "EmpathyContact")
711   (return-type "EmpathyContact*")
712   (parameters
713     '("McAccount*" "account")
714   )
715 )
716
717 (define-function empathy_contact_new_full
718   (c-name "empathy_contact_new_full")
719   (return-type "EmpathyContact*")
720   (parameters
721     '("McAccount*" "account")
722     '("const-gchar*" "id")
723     '("const-gchar*" "name")
724   )
725 )
726
727 (define-method get_id
728   (of-object "EmpathyContact")
729   (c-name "empathy_contact_get_id")
730   (return-type "const-gchar*")
731 )
732
733 (define-method get_name
734   (of-object "EmpathyContact")
735   (c-name "empathy_contact_get_name")
736   (return-type "const-gchar*")
737 )
738
739 (define-method get_avatar
740   (of-object "EmpathyContact")
741   (c-name "empathy_contact_get_avatar")
742   (return-type "EmpathyAvatar*")
743 )
744
745 (define-method get_account
746   (of-object "EmpathyContact")
747   (c-name "empathy_contact_get_account")
748   (return-type "McAccount*")
749 )
750
751 (define-method get_presence
752   (of-object "EmpathyContact")
753   (c-name "empathy_contact_get_presence")
754   (return-type "EmpathyPresence*")
755 )
756
757 (define-method get_groups
758   (of-object "EmpathyContact")
759   (c-name "empathy_contact_get_groups")
760   (return-type "GList*")
761 )
762
763 (define-method get_subscription
764   (of-object "EmpathyContact")
765   (c-name "empathy_contact_get_subscription")
766   (return-type "EmpathySubscription")
767 )
768
769 (define-method get_handle
770   (of-object "EmpathyContact")
771   (c-name "empathy_contact_get_handle")
772   (return-type "guint")
773 )
774
775 (define-method is_user
776   (of-object "EmpathyContact")
777   (c-name "empathy_contact_is_user")
778   (return-type "gboolean")
779 )
780
781 (define-method set_id
782   (of-object "EmpathyContact")
783   (c-name "empathy_contact_set_id")
784   (return-type "none")
785   (parameters
786     '("const-gchar*" "id")
787   )
788 )
789
790 (define-method set_name
791   (of-object "EmpathyContact")
792   (c-name "empathy_contact_set_name")
793   (return-type "none")
794   (parameters
795     '("const-gchar*" "name")
796   )
797 )
798
799 (define-method set_avatar
800   (of-object "EmpathyContact")
801   (c-name "empathy_contact_set_avatar")
802   (return-type "none")
803   (parameters
804     '("EmpathyAvatar*" "avatar")
805   )
806 )
807
808 (define-method set_account
809   (of-object "EmpathyContact")
810   (c-name "empathy_contact_set_account")
811   (return-type "none")
812   (parameters
813     '("McAccount*" "account")
814   )
815 )
816
817 (define-method set_presence
818   (of-object "EmpathyContact")
819   (c-name "empathy_contact_set_presence")
820   (return-type "none")
821   (parameters
822     '("EmpathyPresence*" "presence")
823   )
824 )
825
826 (define-method set_groups
827   (of-object "EmpathyContact")
828   (c-name "empathy_contact_set_groups")
829   (return-type "none")
830   (parameters
831     '("GList*" "categories")
832   )
833 )
834
835 (define-method set_subscription
836   (of-object "EmpathyContact")
837   (c-name "empathy_contact_set_subscription")
838   (return-type "none")
839   (parameters
840     '("EmpathySubscription" "subscription")
841   )
842 )
843
844 (define-method set_handle
845   (of-object "EmpathyContact")
846   (c-name "empathy_contact_set_handle")
847   (return-type "none")
848   (parameters
849     '("guint" "handle")
850   )
851 )
852
853 (define-method set_is_user
854   (of-object "EmpathyContact")
855   (c-name "empathy_contact_set_is_user")
856   (return-type "none")
857   (parameters
858     '("gboolean" "is_user")
859   )
860 )
861
862 (define-method add_group
863   (of-object "EmpathyContact")
864   (c-name "empathy_contact_add_group")
865   (return-type "none")
866   (parameters
867     '("const-gchar*" "group")
868   )
869 )
870
871 (define-method remove_group
872   (of-object "EmpathyContact")
873   (c-name "empathy_contact_remove_group")
874   (return-type "none")
875   (parameters
876     '("const-gchar*" "group")
877   )
878 )
879
880 (define-method is_online
881   (of-object "EmpathyContact")
882   (c-name "empathy_contact_is_online")
883   (return-type "gboolean")
884 )
885
886 (define-method is_in_group
887   (of-object "EmpathyContact")
888   (c-name "empathy_contact_is_in_group")
889   (return-type "gboolean")
890   (parameters
891     '("const-gchar*" "group")
892   )
893 )
894
895 (define-method get_status
896   (of-object "EmpathyContact")
897   (c-name "empathy_contact_get_status")
898   (return-type "const-gchar*")
899 )
900
901 (define-function empathy_contact_equal
902   (c-name "empathy_contact_equal")
903   (return-type "gboolean")
904   (parameters
905     '("gconstpointer" "v1")
906     '("gconstpointer" "v2")
907   )
908 )
909
910 (define-function empathy_contact_hash
911   (c-name "empathy_contact_hash")
912   (return-type "guint")
913   (parameters
914     '("gconstpointer" "key")
915   )
916 )
917
918
919
920 ;; From empathy-debug.h
921
922 (define-function empathy_debug_impl
923   (c-name "empathy_debug_impl")
924   (return-type "none")
925   (parameters
926     '("const-gchar*" "domain")
927     '("const-gchar*" "msg")
928   )
929   (varargs #t)
930 )
931
932
933
934 ;; From empathy-filter-glue.h
935
936 (define-function dbus_glib_marshal_empathy_filter_BOOLEAN__STRING_BOXED_STRING_BOXED_UINT_UINT_UINT_POINTER
937   (c-name "dbus_glib_marshal_empathy_filter_BOOLEAN__STRING_BOXED_STRING_BOXED_UINT_UINT_UINT_POINTER")
938   (return-type "none")
939   (parameters
940     '("GClosure*" "closure")
941     '("GValue*" "return_value")
942     '("guint" "n_param_values")
943     '("const-GValue*" "param_values")
944     '("gpointer" "invocation_hint")
945     '("gpointer" "marshal_data")
946   )
947 )
948
949
950
951 ;; From empathy-filter.h
952
953 (define-function empathy_filter_get_type
954   (c-name "empathy_filter_get_type")
955   (return-type "GType")
956 )
957
958 (define-function empathy_filter_new
959   (c-name "empathy_filter_new")
960   (is-constructor-of "EmpathyFilter")
961   (return-type "EmpathyFilter*")
962   (parameters
963     '("const-gchar*" "bus_name")
964     '("const-gchar*" "object_path")
965     '("const-gchar*" "channel_type")
966     '("guint" "priority")
967     '("guint" "flags")
968   )
969 )
970
971 (define-method process
972   (of-object "EmpathyFilter")
973   (c-name "empathy_filter_process")
974   (return-type "none")
975   (parameters
976     '("TpChan*" "tp_chan")
977     '("gboolean" "process")
978   )
979 )
980
981
982
983 ;; From empathy-idle.h
984
985 (define-function empathy_idle_get_type
986   (c-name "empathy_idle_get_type")
987   (return-type "GType")
988 )
989
990 (define-function empathy_idle_new
991   (c-name "empathy_idle_new")
992   (is-constructor-of "EmpathyIdle")
993   (return-type "EmpathyIdle*")
994 )
995
996 (define-method get_state
997   (of-object "EmpathyIdle")
998   (c-name "empathy_idle_get_state")
999   (return-type "McPresence")
1000 )
1001
1002 (define-method set_state
1003   (of-object "EmpathyIdle")
1004   (c-name "empathy_idle_set_state")
1005   (return-type "none")
1006   (parameters
1007     '("McPresence" "state")
1008   )
1009 )
1010
1011 (define-method get_status
1012   (of-object "EmpathyIdle")
1013   (c-name "empathy_idle_get_status")
1014   (return-type "const-gchar*")
1015 )
1016
1017 (define-method set_status
1018   (of-object "EmpathyIdle")
1019   (c-name "empathy_idle_set_status")
1020   (return-type "none")
1021   (parameters
1022     '("const-gchar*" "status")
1023   )
1024 )
1025
1026 (define-method get_flash_state
1027   (of-object "EmpathyIdle")
1028   (c-name "empathy_idle_get_flash_state")
1029   (return-type "McPresence")
1030 )
1031
1032 (define-method set_flash_state
1033   (of-object "EmpathyIdle")
1034   (c-name "empathy_idle_set_flash_state")
1035   (return-type "none")
1036   (parameters
1037     '("McPresence" "state")
1038   )
1039 )
1040
1041 (define-method set_presence
1042   (of-object "EmpathyIdle")
1043   (c-name "empathy_idle_set_presence")
1044   (return-type "none")
1045   (parameters
1046     '("McPresence" "state")
1047     '("const-gchar*" "status")
1048   )
1049 )
1050
1051
1052
1053 ;; From empathy-log-manager.h
1054
1055 (define-function empathy_log_manager_get_type
1056   (c-name "empathy_log_manager_get_type")
1057   (return-type "GType")
1058 )
1059
1060 (define-function empathy_log_manager_new
1061   (c-name "empathy_log_manager_new")
1062   (is-constructor-of "EmpathyLogManager")
1063   (return-type "EmpathyLogManager*")
1064 )
1065
1066 (define-method add_message
1067   (of-object "EmpathyLogManager")
1068   (c-name "empathy_log_manager_add_message")
1069   (return-type "none")
1070   (parameters
1071     '("const-gchar*" "chat_id")
1072     '("gboolean" "chatroom")
1073     '("EmpathyMessage*" "message")
1074   )
1075 )
1076
1077 (define-method exists
1078   (of-object "EmpathyLogManager")
1079   (c-name "empathy_log_manager_exists")
1080   (return-type "gboolean")
1081   (parameters
1082     '("McAccount*" "account")
1083     '("const-gchar*" "chat_id")
1084     '("gboolean" "chatroom")
1085   )
1086 )
1087
1088 (define-method get_dates
1089   (of-object "EmpathyLogManager")
1090   (c-name "empathy_log_manager_get_dates")
1091   (return-type "GList*")
1092   (parameters
1093     '("McAccount*" "account")
1094     '("const-gchar*" "chat_id")
1095     '("gboolean" "chatroom")
1096   )
1097 )
1098
1099 (define-method get_messages_for_date
1100   (of-object "EmpathyLogManager")
1101   (c-name "empathy_log_manager_get_messages_for_date")
1102   (return-type "GList*")
1103   (parameters
1104     '("McAccount*" "account")
1105     '("const-gchar*" "chat_id")
1106     '("gboolean" "chatroom")
1107     '("const-gchar*" "date")
1108   )
1109 )
1110
1111 (define-method get_last_messages
1112   (of-object "EmpathyLogManager")
1113   (c-name "empathy_log_manager_get_last_messages")
1114   (return-type "GList*")
1115   (parameters
1116     '("McAccount*" "account")
1117     '("const-gchar*" "chat_id")
1118     '("gboolean" "chatroom")
1119   )
1120 )
1121
1122 (define-method get_chats
1123   (of-object "EmpathyLogManager")
1124   (c-name "empathy_log_manager_get_chats")
1125   (return-type "GList*")
1126   (parameters
1127     '("McAccount*" "account")
1128   )
1129 )
1130
1131 (define-method search_new
1132   (of-object "EmpathyLogManager")
1133   (c-name "empathy_log_manager_search_new")
1134   (return-type "GList*")
1135   (parameters
1136     '("const-gchar*" "text")
1137   )
1138 )
1139
1140 (define-function empathy_log_manager_search_free
1141   (c-name "empathy_log_manager_search_free")
1142   (return-type "none")
1143   (parameters
1144     '("GList*" "hits")
1145   )
1146 )
1147
1148 (define-function empathy_log_manager_get_date_readable
1149   (c-name "empathy_log_manager_get_date_readable")
1150   (return-type "gchar*")
1151   (parameters
1152     '("const-gchar*" "date")
1153   )
1154 )
1155
1156
1157
1158 ;; From empathy-marshal.h
1159
1160
1161
1162 ;; From empathy-message.h
1163
1164 (define-function empathy_message_get_gtype
1165   (c-name "empathy_message_get_gtype")
1166   (return-type "GType")
1167 )
1168
1169 (define-function empathy_message_new
1170   (c-name "empathy_message_new")
1171   (is-constructor-of "EmpathyMessage")
1172   (return-type "EmpathyMessage*")
1173   (parameters
1174     '("const-gchar*" "body")
1175   )
1176 )
1177
1178 (define-method get_type
1179   (of-object "EmpathyMessage")
1180   (c-name "empathy_message_get_type")
1181   (return-type "EmpathyMessageType")
1182 )
1183
1184 (define-method set_type
1185   (of-object "EmpathyMessage")
1186   (c-name "empathy_message_set_type")
1187   (return-type "none")
1188   (parameters
1189     '("EmpathyMessageType" "type")
1190   )
1191 )
1192
1193 (define-method get_sender
1194   (of-object "EmpathyMessage")
1195   (c-name "empathy_message_get_sender")
1196   (return-type "EmpathyContact*")
1197 )
1198
1199 (define-method set_sender
1200   (of-object "EmpathyMessage")
1201   (c-name "empathy_message_set_sender")
1202   (return-type "none")
1203   (parameters
1204     '("EmpathyContact*" "contact")
1205   )
1206 )
1207
1208 (define-method get_receiver
1209   (of-object "EmpathyMessage")
1210   (c-name "empathy_message_get_receiver")
1211   (return-type "EmpathyContact*")
1212 )
1213
1214 (define-method set_receiver
1215   (of-object "EmpathyMessage")
1216   (c-name "empathy_message_set_receiver")
1217   (return-type "none")
1218   (parameters
1219     '("EmpathyContact*" "contact")
1220   )
1221 )
1222
1223 (define-method get_body
1224   (of-object "EmpathyMessage")
1225   (c-name "empathy_message_get_body")
1226   (return-type "const-gchar*")
1227 )
1228
1229 (define-method set_body
1230   (of-object "EmpathyMessage")
1231   (c-name "empathy_message_set_body")
1232   (return-type "none")
1233   (parameters
1234     '("const-gchar*" "body")
1235   )
1236 )
1237
1238 (define-method get_timestamp
1239   (of-object "EmpathyMessage")
1240   (c-name "empathy_message_get_timestamp")
1241   (return-type "EmpathyTime")
1242 )
1243
1244 (define-method set_timestamp
1245   (of-object "EmpathyMessage")
1246   (c-name "empathy_message_set_timestamp")
1247   (return-type "none")
1248   (parameters
1249     '("EmpathyTime" "timestamp")
1250   )
1251 )
1252
1253
1254
1255 ;; From empathy-presence.h
1256
1257 (define-function empathy_presence_get_type
1258   (c-name "empathy_presence_get_type")
1259   (return-type "GType")
1260 )
1261
1262 (define-function empathy_presence_new
1263   (c-name "empathy_presence_new")
1264   (is-constructor-of "EmpathyPresence")
1265   (return-type "EmpathyPresence*")
1266 )
1267
1268 (define-function empathy_presence_new_full
1269   (c-name "empathy_presence_new_full")
1270   (return-type "EmpathyPresence*")
1271   (parameters
1272     '("McPresence" "state")
1273     '("const-gchar*" "status")
1274   )
1275 )
1276
1277 (define-method get_state
1278   (of-object "EmpathyPresence")
1279   (c-name "empathy_presence_get_state")
1280   (return-type "McPresence")
1281 )
1282
1283 (define-method get_status
1284   (of-object "EmpathyPresence")
1285   (c-name "empathy_presence_get_status")
1286   (return-type "const-gchar*")
1287 )
1288
1289 (define-method set_state
1290   (of-object "EmpathyPresence")
1291   (c-name "empathy_presence_set_state")
1292   (return-type "none")
1293   (parameters
1294     '("McPresence" "state")
1295   )
1296 )
1297
1298 (define-method set_status
1299   (of-object "EmpathyPresence")
1300   (c-name "empathy_presence_set_status")
1301   (return-type "none")
1302   (parameters
1303     '("const-gchar*" "status")
1304   )
1305 )
1306
1307 (define-function empathy_presence_sort_func
1308   (c-name "empathy_presence_sort_func")
1309   (return-type "gint")
1310   (parameters
1311     '("gconstpointer" "a")
1312     '("gconstpointer" "b")
1313   )
1314 )
1315
1316 (define-function empathy_presence_state_get_default_status
1317   (c-name "empathy_presence_state_get_default_status")
1318   (return-type "const-gchar*")
1319   (parameters
1320     '("McPresence" "state")
1321   )
1322 )
1323
1324 (define-function empathy_presence_state_to_str
1325   (c-name "empathy_presence_state_to_str")
1326   (return-type "const-gchar*")
1327   (parameters
1328     '("McPresence" "state")
1329   )
1330 )
1331
1332 (define-function empathy_presence_state_from_str
1333   (c-name "empathy_presence_state_from_str")
1334   (return-type "McPresence")
1335   (parameters
1336     '("const-gchar*" "str")
1337   )
1338 )
1339
1340
1341
1342 ;; From empathy-time.h
1343
1344 (define-function empathy_time_get_current
1345   (c-name "empathy_time_get_current")
1346   (return-type "EmpathyTime")
1347 )
1348
1349 (define-function empathy_time_get_local_time
1350   (c-name "empathy_time_get_local_time")
1351   (return-type "time_t")
1352   (parameters
1353     '("struct-tm*" "tm")
1354   )
1355 )
1356
1357 (define-function empathy_time_parse
1358   (c-name "empathy_time_parse")
1359   (return-type "EmpathyTime")
1360   (parameters
1361     '("const-gchar*" "str")
1362   )
1363 )
1364
1365 (define-function empathy_time_parse_format
1366   (c-name "empathy_time_parse_format")
1367   (return-type "EmpathyTime")
1368   (parameters
1369     '("const-gchar*" "str")
1370     '("const-gchar*" "format")
1371   )
1372 )
1373
1374 (define-method to_string_utc
1375   (of-object "EmpathyTime")
1376   (c-name "empathy_time_to_string_utc")
1377   (return-type "gchar*")
1378   (parameters
1379     '("const-gchar*" "format")
1380   )
1381 )
1382
1383 (define-method to_string_local
1384   (of-object "EmpathyTime")
1385   (c-name "empathy_time_to_string_local")
1386   (return-type "gchar*")
1387   (parameters
1388     '("const-gchar*" "format")
1389   )
1390 )
1391
1392
1393
1394 ;; From empathy-tp-chat.h
1395
1396 (define-function empathy_tp_chat_get_type
1397   (c-name "empathy_tp_chat_get_type")
1398   (return-type "GType")
1399 )
1400
1401 (define-function empathy_tp_chat_new
1402   (c-name "empathy_tp_chat_new")
1403   (is-constructor-of "EmpathyTpChat")
1404   (return-type "EmpathyTpChat*")
1405   (parameters
1406     '("McAccount*" "account")
1407     '("TpChan*" "tp_chan")
1408   )
1409 )
1410
1411 (define-function empathy_tp_chat_new_with_contact
1412   (c-name "empathy_tp_chat_new_with_contact")
1413   (return-type "EmpathyTpChat*")
1414   (parameters
1415     '("EmpathyContact*" "contact")
1416   )
1417 )
1418
1419 (define-method get_acknowledge
1420   (of-object "EmpathyTpChat")
1421   (c-name "empathy_tp_chat_get_acknowledge")
1422   (return-type "gboolean")
1423 )
1424
1425 (define-method set_acknowledge
1426   (of-object "EmpathyTpChat")
1427   (c-name "empathy_tp_chat_set_acknowledge")
1428   (return-type "none")
1429   (parameters
1430     '("gboolean" "acknowledge")
1431   )
1432 )
1433
1434 (define-method get_channel
1435   (of-object "EmpathyTpChat")
1436   (c-name "empathy_tp_chat_get_channel")
1437   (return-type "TpChan*")
1438 )
1439
1440 (define-method get_pendings
1441   (of-object "EmpathyTpChat")
1442   (c-name "empathy_tp_chat_get_pendings")
1443   (return-type "GList*")
1444 )
1445
1446 (define-method send
1447   (of-object "EmpathyTpChat")
1448   (c-name "empathy_tp_chat_send")
1449   (return-type "none")
1450   (parameters
1451     '("EmpathyMessage*" "message")
1452   )
1453 )
1454
1455 (define-method set_state
1456   (of-object "EmpathyTpChat")
1457   (c-name "empathy_tp_chat_set_state")
1458   (return-type "none")
1459   (parameters
1460     '("TelepathyChannelChatState" "state")
1461   )
1462 )
1463
1464 (define-method get_id
1465   (of-object "EmpathyTpChat")
1466   (c-name "empathy_tp_chat_get_id")
1467   (return-type "const-gchar*")
1468 )
1469
1470
1471
1472 ;; From empathy-tp-chatroom.h
1473
1474 (define-function empathy_tp_chatroom_get_type
1475   (c-name "empathy_tp_chatroom_get_type")
1476   (return-type "GType")
1477 )
1478
1479 (define-function empathy_tp_chatroom_new
1480   (c-name "empathy_tp_chatroom_new")
1481   (is-constructor-of "EmpathyTpChatroom")
1482   (return-type "EmpathyTpChatroom*")
1483   (parameters
1484     '("McAccount*" "account")
1485     '("TpChan*" "tp_chan")
1486   )
1487 )
1488
1489 (define-method get_invitation
1490   (of-object "EmpathyTpChatroom")
1491   (c-name "empathy_tp_chatroom_get_invitation")
1492   (return-type "gboolean")
1493   (parameters
1494     '("EmpathyContact**" "contact")
1495     '("const-gchar**" "message")
1496   )
1497 )
1498
1499 (define-method accept_invitation
1500   (of-object "EmpathyTpChatroom")
1501   (c-name "empathy_tp_chatroom_accept_invitation")
1502   (return-type "none")
1503 )
1504
1505 (define-method set_topic
1506   (of-object "EmpathyTpChatroom")
1507   (c-name "empathy_tp_chatroom_set_topic")
1508   (return-type "none")
1509   (parameters
1510     '("const-gchar*" "topic")
1511   )
1512 )
1513
1514
1515
1516 ;; From empathy-tp-contact-list.h
1517
1518 (define-function empathy_tp_contact_list_get_type
1519   (c-name "empathy_tp_contact_list_get_type")
1520   (return-type "GType")
1521 )
1522
1523 (define-function empathy_tp_contact_list_new
1524   (c-name "empathy_tp_contact_list_new")
1525   (is-constructor-of "EmpathyTpContactList")
1526   (return-type "EmpathyTpContactList*")
1527   (parameters
1528     '("McAccount*" "account")
1529   )
1530 )
1531
1532 (define-method get_account
1533   (of-object "EmpathyTpContactList")
1534   (c-name "empathy_tp_contact_list_get_account")
1535   (return-type "McAccount*")
1536 )
1537
1538 (define-method get_user
1539   (of-object "EmpathyTpContactList")
1540   (c-name "empathy_tp_contact_list_get_user")
1541   (return-type "EmpathyContact*")
1542 )
1543
1544 (define-method get_from_id
1545   (of-object "EmpathyTpContactList")
1546   (c-name "empathy_tp_contact_list_get_from_id")
1547   (return-type "EmpathyContact*")
1548   (parameters
1549     '("const-gchar*" "id")
1550   )
1551 )
1552
1553 (define-method get_from_handle
1554   (of-object "EmpathyTpContactList")
1555   (c-name "empathy_tp_contact_list_get_from_handle")
1556   (return-type "EmpathyContact*")
1557   (parameters
1558     '("guint" "handle")
1559   )
1560 )
1561
1562 (define-method get_from_handles
1563   (of-object "EmpathyTpContactList")
1564   (c-name "empathy_tp_contact_list_get_from_handles")
1565   (return-type "GList*")
1566   (parameters
1567     '("GArray*" "handles")
1568   )
1569 )
1570
1571 (define-method rename_group
1572   (of-object "EmpathyTpContactList")
1573   (c-name "empathy_tp_contact_list_rename_group")
1574   (return-type "none")
1575   (parameters
1576     '("const-gchar*" "old_group")
1577     '("const-gchar*" "new_group")
1578   )
1579 )
1580
1581 (define-method get_groups
1582   (of-object "EmpathyTpContactList")
1583   (c-name "empathy_tp_contact_list_get_groups")
1584   (return-type "GList*")
1585 )
1586
1587
1588
1589 ;; From empathy-tp-group.h
1590
1591 (define-function empathy_tp_group_get_type
1592   (c-name "empathy_tp_group_get_type")
1593   (return-type "GType")
1594 )
1595
1596 (define-function empathy_tp_group_new
1597   (c-name "empathy_tp_group_new")
1598   (is-constructor-of "EmpathyTpGroup")
1599   (return-type "EmpathyTpGroup*")
1600   (parameters
1601     '("TpChan*" "tp_chan")
1602     '("TpConn*" "tp_conn")
1603   )
1604 )
1605
1606 (define-method add_members
1607   (of-object "EmpathyTpGroup")
1608   (c-name "empathy_tp_group_add_members")
1609   (return-type "none")
1610   (parameters
1611     '("GArray*" "handles")
1612     '("const-gchar*" "message")
1613   )
1614 )
1615
1616 (define-method add_member
1617   (of-object "EmpathyTpGroup")
1618   (c-name "empathy_tp_group_add_member")
1619   (return-type "none")
1620   (parameters
1621     '("guint" "handle")
1622     '("const-gchar*" "message")
1623   )
1624 )
1625
1626 (define-method remove_members
1627   (of-object "EmpathyTpGroup")
1628   (c-name "empathy_tp_group_remove_members")
1629   (return-type "none")
1630   (parameters
1631     '("GArray*" "handle")
1632     '("const-gchar*" "message")
1633   )
1634 )
1635
1636 (define-method remove_member
1637   (of-object "EmpathyTpGroup")
1638   (c-name "empathy_tp_group_remove_member")
1639   (return-type "none")
1640   (parameters
1641     '("guint" "handle")
1642     '("const-gchar*" "message")
1643   )
1644 )
1645
1646 (define-method get_members
1647   (of-object "EmpathyTpGroup")
1648   (c-name "empathy_tp_group_get_members")
1649   (return-type "GArray*")
1650 )
1651
1652 (define-method get_all_members
1653   (of-object "EmpathyTpGroup")
1654   (c-name "empathy_tp_group_get_all_members")
1655   (return-type "none")
1656   (parameters
1657     '("GArray**" "members")
1658     '("GArray**" "local_pending")
1659     '("GArray**" "remote_pending")
1660   )
1661 )
1662
1663 (define-method get_local_pending_members_with_info
1664   (of-object "EmpathyTpGroup")
1665   (c-name "empathy_tp_group_get_local_pending_members_with_info")
1666   (return-type "GList*")
1667 )
1668
1669 (define-function empathy_tp_group_info_list_free
1670   (c-name "empathy_tp_group_info_list_free")
1671   (return-type "none")
1672   (parameters
1673     '("GList*" "infos")
1674   )
1675 )
1676
1677 (define-method get_name
1678   (of-object "EmpathyTpGroup")
1679   (c-name "empathy_tp_group_get_name")
1680   (return-type "const-gchar*")
1681 )
1682
1683 (define-method get_self_handle
1684   (of-object "EmpathyTpGroup")
1685   (c-name "empathy_tp_group_get_self_handle")
1686   (return-type "guint")
1687 )
1688
1689 (define-method get_object_path
1690   (of-object "EmpathyTpGroup")
1691   (c-name "empathy_tp_group_get_object_path")
1692   (return-type "const-gchar*")
1693 )
1694
1695 (define-method is_member
1696   (of-object "EmpathyTpGroup")
1697   (c-name "empathy_tp_group_is_member")
1698   (return-type "gboolean")
1699   (parameters
1700     '("guint" "handle")
1701   )
1702 )
1703
1704
1705
1706 ;; From empathy-utils.h
1707
1708 (define-function empathy_substring
1709   (c-name "empathy_substring")
1710   (return-type "gchar*")
1711   (parameters
1712     '("const-gchar*" "str")
1713     '("gint" "start")
1714     '("gint" "end")
1715   )
1716 )
1717
1718 (define-function empathy_regex_match
1719   (c-name "empathy_regex_match")
1720   (return-type "gint")
1721   (parameters
1722     '("EmpathyRegExType" "type")
1723     '("const-gchar*" "msg")
1724     '("GArray*" "start")
1725     '("GArray*" "end")
1726   )
1727 )
1728
1729 (define-function empathy_strcasecmp
1730   (c-name "empathy_strcasecmp")
1731   (return-type "gint")
1732   (parameters
1733     '("const-gchar*" "s1")
1734     '("const-gchar*" "s2")
1735   )
1736 )
1737
1738 (define-function empathy_strncasecmp
1739   (c-name "empathy_strncasecmp")
1740   (return-type "gint")
1741   (parameters
1742     '("const-gchar*" "s1")
1743     '("const-gchar*" "s2")
1744     '("gsize" "n")
1745   )
1746 )
1747
1748 (define-function empathy_xml_validate
1749   (c-name "empathy_xml_validate")
1750   (return-type "gboolean")
1751   (parameters
1752     '("xmlDoc*" "doc")
1753     '("const-gchar*" "dtd_filename")
1754   )
1755 )
1756
1757 (define-function empathy_xml_node_get_child
1758   (c-name "empathy_xml_node_get_child")
1759   (return-type "xmlNodePtr")
1760   (parameters
1761     '("xmlNodePtr" "node")
1762     '("const-gchar*" "child_name")
1763   )
1764 )
1765
1766 (define-function empathy_xml_node_get_child_content
1767   (c-name "empathy_xml_node_get_child_content")
1768   (return-type "xmlChar*")
1769   (parameters
1770     '("xmlNodePtr" "node")
1771     '("const-gchar*" "child_name")
1772   )
1773 )
1774
1775 (define-function empathy_xml_node_find_child_prop_value
1776   (c-name "empathy_xml_node_find_child_prop_value")
1777   (return-type "xmlNodePtr")
1778   (parameters
1779     '("xmlNodePtr" "node")
1780     '("const-gchar*" "prop_name")
1781     '("const-gchar*" "prop_value")
1782   )
1783 )
1784
1785 (define-function empathy_account_hash
1786   (c-name "empathy_account_hash")
1787   (return-type "guint")
1788   (parameters
1789     '("gconstpointer" "key")
1790   )
1791 )
1792
1793 (define-function empathy_account_equal
1794   (c-name "empathy_account_equal")
1795   (return-type "gboolean")
1796   (parameters
1797     '("gconstpointer" "a")
1798     '("gconstpointer" "b")
1799   )
1800 )
1801
1802 (define-function empathy_mission_control_new
1803   (c-name "empathy_mission_control_new")
1804   (is-constructor-of "EmpathyMissionControl")
1805   (return-type "MissionControl*")
1806 )
1807
1808 (define-function empathy_get_channel_id
1809   (c-name "empathy_get_channel_id")
1810   (return-type "gchar*")
1811   (parameters
1812     '("McAccount*" "account")
1813     '("TpChan*" "tp_chan")
1814   )
1815 )
1816