Mercurial > pidgin.yaz
comparison src/dbus-bindings.h @ 11187:744c0708d11f
[gaim-migrate @ 13303]
gaim-remote.py implements the functionality of standard gaim-remote,
but using DBus. It can also call all gaim functions exported via
DBus.
dbus-analize-function.py can now produce dbus bindings for GHashTable
arguments.
committer: Tailor Script <tailor@pidgin.im>
author | Piotr Zielinski <zielaj> |
---|---|
date | Wed, 03 Aug 2005 23:54:37 +0000 |
parents | 9aae0a11de03 |
children | 9563b768e8e2 |
comparison
equal
deleted
inserted
replaced
11186:bbe84acea03a | 11187:744c0708d11f |
---|---|
54 G_STMT_START { \ | 54 G_STMT_START { \ |
55 id = gaim_dbus_pointer_to_id_error(ptr,error); \ | 55 id = gaim_dbus_pointer_to_id_error(ptr,error); \ |
56 CHECK_ERROR(error); \ | 56 CHECK_ERROR(error); \ |
57 } G_STMT_END | 57 } G_STMT_END |
58 | 58 |
59 | |
60 dbus_bool_t | |
61 gaim_dbus_message_get_args (DBusMessage *message, | |
62 DBusError *error, | |
63 int first_arg_type, | |
64 ...); | |
65 dbus_bool_t | |
66 gaim_dbus_message_get_args_valist (DBusMessage *message, | |
67 DBusError *error, | |
68 int first_arg_type, | |
69 va_list var_args); | |
70 | |
71 dbus_bool_t | |
72 gaim_dbus_message_iter_get_args (DBusMessageIter *iter, | |
73 DBusError *error, | |
74 int first_arg_type, | |
75 ...); | |
76 | |
77 dbus_bool_t | |
78 gaim_dbus_message_iter_get_args_valist (DBusMessageIter *iter, | |
79 DBusError *error, | |
80 int first_arg_type, | |
81 va_list var_args); | |
82 | |
59 dbus_int32_t* gaim_dbusify_GList(GList *list, gboolean free_memory, | 83 dbus_int32_t* gaim_dbusify_GList(GList *list, gboolean free_memory, |
60 dbus_int32_t *len); | 84 dbus_int32_t *len); |
61 dbus_int32_t* gaim_dbusify_GSList(GSList *list, gboolean free_memory, | 85 dbus_int32_t* gaim_dbusify_GSList(GSList *list, gboolean free_memory, |
62 dbus_int32_t *len); | 86 dbus_int32_t *len); |
87 gpointer* gaim_GList_to_array(GList *list, gboolean free_memory, | |
88 dbus_int32_t *len); | |
89 gpointer* gaim_GSList_to_array(GSList *list, gboolean free_memory, | |
90 dbus_int32_t *len); | |
91 GHashTable *gaim_dbus_iter_hash_table(DBusMessageIter *iter, DBusError *error); | |
92 | |
63 const char* empty_to_null(const char *str); | 93 const char* empty_to_null(const char *str); |
64 const char* null_to_empty(const char *s); | 94 const char* null_to_empty(const char *s); |
65 | 95 |
66 typedef struct { | 96 typedef struct { |
67 const char *name; | 97 const char *name; |