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