| tp-chan-gen.h | | tp-chan-gen.h | |
| /* Generated by dbus-binding-tool; do not edit! */ | | /* Generated by dbus-binding-tool; do not edit! */ | |
| | | | |
|
| #include <glib/gtypes.h> | | #include <glib.h> | |
| #include <glib/gerror.h> | | | |
| #include <dbus/dbus-glib.h> | | #include <dbus/dbus-glib.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| | | #ifndef _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | #define _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | void | |
| | | _dbus_glib_async_data_free (gpointer stuff) | |
| | | { | |
| | | g_slice_free (DBusGAsyncData, stuff); | |
| | | } | |
| | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_close (DBusGProxy *proxy, GError **error) | | tp_chan_close (DBusGProxy *proxy, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "Close", error, G_TYPE_INVALID, G_TYPE_I
NVALID); | | return dbus_g_proxy_call (proxy, "Close", error, G_TYPE_INVALID, G_TYPE_I
NVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_close_reply) (DBusGProxy *proxy, GError *error, gpoi
nter userdata); | | typedef void (*tp_chan_close_reply) (DBusGProxy *proxy, GError *error, gpoi
nter userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_close_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void
*user_data) | | tp_chan_close_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void
*user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_chan_close_reply)data->cb) (proxy, error, data->userdata); | | (*(tp_chan_close_reply)data->cb) (proxy, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_close_async (DBusGProxy *proxy, tp_chan_close_reply callback, gpoin
ter userdata) | | tp_chan_close_async (DBusGProxy *proxy, tp_chan_close_reply callback, gpoin
ter userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "Close", tp_chan_close_async_callb
ack, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "Close", tp_chan_close_async_callb
ack, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_get_channel_type (DBusGProxy *proxy, char ** OUT_arg0, GError **err
or) | | tp_chan_get_channel_type (DBusGProxy *proxy, char ** OUT_arg0, GError **err
or) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetChannelType", error, G_TYPE_INVALID,
G_TYPE_STRING, OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetChannelType", error, G_TYPE_INVALID,
G_TYPE_STRING, OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_get_channel_type_reply) (DBusGProxy *proxy, char * O
UT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_chan_get_channel_type_reply) (DBusGProxy *proxy, char * O
UT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_get_channel_type_async_callback (DBusGProxy *proxy, DBusGProxyCall
*call, void *user_data) | | tp_chan_get_channel_type_async_callback (DBusGProxy *proxy, DBusGProxyCall
*call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| char * OUT_arg0; | | char * OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg0, G_T
YPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg0, G_T
YPE_INVALID); | |
| (*(tp_chan_get_channel_type_reply)data->cb) (proxy, OUT_arg0, error, data
->userdata); | | (*(tp_chan_get_channel_type_reply)data->cb) (proxy, OUT_arg0, error, data
->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_get_channel_type_async (DBusGProxy *proxy, tp_chan_get_channel_type
_reply callback, gpointer userdata) | | tp_chan_get_channel_type_async (DBusGProxy *proxy, tp_chan_get_channel_type
_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetChannelType", tp_chan_get_chan
nel_type_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetChannelType", tp_chan_get_chan
nel_type_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID)
; | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_get_handle (DBusGProxy *proxy, guint* OUT_arg0, guint* OUT_arg1, GE
rror **error) | | tp_chan_get_handle (DBusGProxy *proxy, guint* OUT_arg0, guint* OUT_arg1, GE
rror **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetHandle", error, G_TYPE_INVALID, G_TY
PE_UINT, OUT_arg0, G_TYPE_UINT, OUT_arg1, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetHandle", error, G_TYPE_INVALID, G_TY
PE_UINT, OUT_arg0, G_TYPE_UINT, OUT_arg1, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_get_handle_reply) (DBusGProxy *proxy, guint OUT_arg0
, guint OUT_arg1, GError *error, gpointer userdata); | | typedef void (*tp_chan_get_handle_reply) (DBusGProxy *proxy, guint OUT_arg0
, guint OUT_arg1, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_get_handle_async_callback (DBusGProxy *proxy, DBusGProxyCall *call,
void *user_data) | | tp_chan_get_handle_async_callback (DBusGProxy *proxy, DBusGProxyCall *call,
void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| guint OUT_arg0; | | guint OUT_arg0; | |
| guint OUT_arg1; | | guint OUT_arg1; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg0, G_TYP
E_UINT, &OUT_arg1, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg0, G_TYP
E_UINT, &OUT_arg1, G_TYPE_INVALID); | |
| (*(tp_chan_get_handle_reply)data->cb) (proxy, OUT_arg0, OUT_arg1, error,
data->userdata); | | (*(tp_chan_get_handle_reply)data->cb) (proxy, OUT_arg0, OUT_arg1, error,
data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_get_handle_async (DBusGProxy *proxy, tp_chan_get_handle_reply callb
ack, gpointer userdata) | | tp_chan_get_handle_async (DBusGProxy *proxy, tp_chan_get_handle_reply callb
ack, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetHandle", tp_chan_get_handle_as
ync_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetHandle", tp_chan_get_handle_as
ync_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_get_interfaces (DBusGProxy *proxy, char *** OUT_arg0, GError **erro
r) | | tp_chan_get_interfaces (DBusGProxy *proxy, char *** OUT_arg0, GError **erro
r) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetInterfaces", error, G_TYPE_INVALID,
G_TYPE_STRV, OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetInterfaces", error, G_TYPE_INVALID,
G_TYPE_STRV, OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_get_interfaces_reply) (DBusGProxy *proxy, char * *OU
T_arg0, GError *error, gpointer userdata); | | typedef void (*tp_chan_get_interfaces_reply) (DBusGProxy *proxy, char * *OU
T_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_get_interfaces_async_callback (DBusGProxy *proxy, DBusGProxyCall *c
all, void *user_data) | | tp_chan_get_interfaces_async_callback (DBusGProxy *proxy, DBusGProxyCall *c
all, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| char ** OUT_arg0; | | char ** OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg0, G_TYP
E_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg0, G_TYP
E_INVALID); | |
| (*(tp_chan_get_interfaces_reply)data->cb) (proxy, OUT_arg0, error, data->
userdata); | | (*(tp_chan_get_interfaces_reply)data->cb) (proxy, OUT_arg0, error, data->
userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_get_interfaces_async (DBusGProxy *proxy, tp_chan_get_interfaces_rep
ly callback, gpointer userdata) | | tp_chan_get_interfaces_async (DBusGProxy *proxy, tp_chan_get_interfaces_rep
ly callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetInterfaces", tp_chan_get_inter
faces_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetInterfaces", tp_chan_get_inter
faces_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Chann
el */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Chann
el */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 14 change blocks. |
| 14 lines changed or deleted | | 26 lines changed or added | |
|
| tp-chan-iface-group-gen.h | | tp-chan-iface-group-gen.h | |
| /* Generated by dbus-binding-tool; do not edit! */ | | /* Generated by dbus-binding-tool; do not edit! */ | |
| | | | |
|
| #include <glib/gtypes.h> | | #include <glib.h> | |
| #include <glib/gerror.h> | | | |
| #include <dbus/dbus-glib.h> | | #include <dbus/dbus-glib.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| | | #ifndef _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | #define _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | void | |
| | | _dbus_glib_async_data_free (gpointer stuff) | |
| | | { | |
| | | g_slice_free (DBusGAsyncData, stuff); | |
| | | } | |
| | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Interfa
ce_Group | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Interfa
ce_Group | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Interfa
ce_Group | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Interfa
ce_Group | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_iface_group_add_members (DBusGProxy *proxy, const GArray* IN_contac
ts, const char * IN_message, GError **error) | | tp_chan_iface_group_add_members (DBusGProxy *proxy, const GArray* IN_contac
ts, const char * IN_message, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "AddMembers", error, dbus_g_type_get_col
lection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_STRING, IN_message, G_
TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "AddMembers", error, dbus_g_type_get_col
lection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_STRING, IN_message, G_
TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_iface_group_add_members_reply) (DBusGProxy *proxy, G
Error *error, gpointer userdata); | | typedef void (*tp_chan_iface_group_add_members_reply) (DBusGProxy *proxy, G
Error *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_iface_group_add_members_async_callback (DBusGProxy *proxy, DBusGPro
xyCall *call, void *user_data) | | tp_chan_iface_group_add_members_async_callback (DBusGProxy *proxy, DBusGPro
xyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_chan_iface_group_add_members_reply)data->cb) (proxy, error, data->u
serdata); | | (*(tp_chan_iface_group_add_members_reply)data->cb) (proxy, error, data->u
serdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_iface_group_add_members_async (DBusGProxy *proxy, const GArray* IN_
contacts, const char * IN_message, tp_chan_iface_group_add_members_reply ca
llback, gpointer userdata) | | tp_chan_iface_group_add_members_async (DBusGProxy *proxy, const GArray* IN_
contacts, const char * IN_message, tp_chan_iface_group_add_members_reply ca
llback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "AddMembers", tp_chan_iface_group_
add_members_async_callback, stuff, g_free, dbus_g_type_get_collection ("GAr
ray", G_TYPE_UINT), IN_contacts, G_TYPE_STRING, IN_message, G_TYPE_INVALID)
; | | return dbus_g_proxy_begin_call (proxy, "AddMembers", tp_chan_iface_group_
add_members_async_callback, stuff, _dbus_glib_async_data_free, dbus_g_type_
get_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_STRING, IN_mess
age, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_iface_group_get_all_members (DBusGProxy *proxy, GArray** OUT_arg0,
GArray** OUT_arg1, GArray** OUT_arg2, GError **error) | | tp_chan_iface_group_get_all_members (DBusGProxy *proxy, GArray** OUT_arg0,
GArray** OUT_arg1, GArray** OUT_arg2, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetAllMembers", error, G_TYPE_INVALID,
dbus_g_type_get_collection ("GArray", G_TYPE_UINT), OUT_arg0, dbus_g_type_g
et_collection ("GArray", G_TYPE_UINT), OUT_arg1, dbus_g_type_get_collection
("GArray", G_TYPE_UINT), OUT_arg2, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetAllMembers", error, G_TYPE_INVALID,
dbus_g_type_get_collection ("GArray", G_TYPE_UINT), OUT_arg0, dbus_g_type_g
et_collection ("GArray", G_TYPE_UINT), OUT_arg1, dbus_g_type_get_collection
("GArray", G_TYPE_UINT), OUT_arg2, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_iface_group_get_all_members_reply) (DBusGProxy *prox
y, GArray *OUT_arg0, GArray *OUT_arg1, GArray *OUT_arg2, GError *error, gpo
inter userdata); | | typedef void (*tp_chan_iface_group_get_all_members_reply) (DBusGProxy *prox
y, GArray *OUT_arg0, GArray *OUT_arg1, GArray *OUT_arg2, GError *error, gpo
inter userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_iface_group_get_all_members_async_callback (DBusGProxy *proxy, DBus
GProxyCall *call, void *user_data) | | tp_chan_iface_group_get_all_members_async_callback (DBusGProxy *proxy, DBus
GProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GArray* OUT_arg0; | | GArray* OUT_arg0; | |
| GArray* OUT_arg1; | | GArray* OUT_arg1; | |
| GArray* OUT_arg2; | | GArray* OUT_arg2; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GArray", G_TYPE_UINT), &OUT_arg0, dbus_g_type_get_collection ("GArray", G_T
YPE_UINT), &OUT_arg1, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), &
OUT_arg2, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GArray", G_TYPE_UINT), &OUT_arg0, dbus_g_type_get_collection ("GArray", G_T
YPE_UINT), &OUT_arg1, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), &
OUT_arg2, G_TYPE_INVALID); | |
| (*(tp_chan_iface_group_get_all_members_reply)data->cb) (proxy, OUT_arg0,
OUT_arg1, OUT_arg2, error, data->userdata); | | (*(tp_chan_iface_group_get_all_members_reply)data->cb) (proxy, OUT_arg0,
OUT_arg1, OUT_arg2, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_iface_group_get_all_members_async (DBusGProxy *proxy, tp_chan_iface
_group_get_all_members_reply callback, gpointer userdata) | | tp_chan_iface_group_get_all_members_async (DBusGProxy *proxy, tp_chan_iface
_group_get_all_members_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetAllMembers", tp_chan_iface_gro
up_get_all_members_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetAllMembers", tp_chan_iface_gro
up_get_all_members_async_callback, stuff, _dbus_glib_async_data_free, G_TYP
E_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_iface_group_get_group_flags (DBusGProxy *proxy, guint* OUT_arg0, GE
rror **error) | | tp_chan_iface_group_get_group_flags (DBusGProxy *proxy, guint* OUT_arg0, GE
rror **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetGroupFlags", error, G_TYPE_INVALID,
G_TYPE_UINT, OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetGroupFlags", error, G_TYPE_INVALID,
G_TYPE_UINT, OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_iface_group_get_group_flags_reply) (DBusGProxy *prox
y, guint OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_chan_iface_group_get_group_flags_reply) (DBusGProxy *prox
y, guint OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_iface_group_get_group_flags_async_callback (DBusGProxy *proxy, DBus
GProxyCall *call, void *user_data) | | tp_chan_iface_group_get_group_flags_async_callback (DBusGProxy *proxy, DBus
GProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| guint OUT_arg0; | | guint OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg0, G_TYP
E_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg0, G_TYP
E_INVALID); | |
| (*(tp_chan_iface_group_get_group_flags_reply)data->cb) (proxy, OUT_arg0,
error, data->userdata); | | (*(tp_chan_iface_group_get_group_flags_reply)data->cb) (proxy, OUT_arg0,
error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_iface_group_get_group_flags_async (DBusGProxy *proxy, tp_chan_iface
_group_get_group_flags_reply callback, gpointer userdata) | | tp_chan_iface_group_get_group_flags_async (DBusGProxy *proxy, tp_chan_iface
_group_get_group_flags_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetGroupFlags", tp_chan_iface_gro
up_get_group_flags_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetGroupFlags", tp_chan_iface_gro
up_get_group_flags_async_callback, stuff, _dbus_glib_async_data_free, G_TYP
E_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_iface_group_get_handle_owners (DBusGProxy *proxy, const GArray* IN_
handles, GArray** OUT_arg1, GError **error) | | tp_chan_iface_group_get_handle_owners (DBusGProxy *proxy, const GArray* IN_
handles, GArray** OUT_arg1, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetHandleOwners", error, dbus_g_type_ge
t_collection ("GArray", G_TYPE_UINT), IN_handles, G_TYPE_INVALID, dbus_g_ty
pe_get_collection ("GArray", G_TYPE_UINT), OUT_arg1, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetHandleOwners", error, dbus_g_type_ge
t_collection ("GArray", G_TYPE_UINT), IN_handles, G_TYPE_INVALID, dbus_g_ty
pe_get_collection ("GArray", G_TYPE_UINT), OUT_arg1, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_iface_group_get_handle_owners_reply) (DBusGProxy *pr
oxy, GArray *OUT_arg1, GError *error, gpointer userdata); | | typedef void (*tp_chan_iface_group_get_handle_owners_reply) (DBusGProxy *pr
oxy, GArray *OUT_arg1, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_iface_group_get_handle_owners_async_callback (DBusGProxy *proxy, DB
usGProxyCall *call, void *user_data) | | tp_chan_iface_group_get_handle_owners_async_callback (DBusGProxy *proxy, DB
usGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GArray* OUT_arg1; | | GArray* OUT_arg1; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GArray", G_TYPE_UINT), &OUT_arg1, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GArray", G_TYPE_UINT), &OUT_arg1, G_TYPE_INVALID); | |
| (*(tp_chan_iface_group_get_handle_owners_reply)data->cb) (proxy, OUT_arg1
, error, data->userdata); | | (*(tp_chan_iface_group_get_handle_owners_reply)data->cb) (proxy, OUT_arg1
, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_iface_group_get_handle_owners_async (DBusGProxy *proxy, const GArra
y* IN_handles, tp_chan_iface_group_get_handle_owners_reply callback, gpoint
er userdata) | | tp_chan_iface_group_get_handle_owners_async (DBusGProxy *proxy, const GArra
y* IN_handles, tp_chan_iface_group_get_handle_owners_reply callback, gpoint
er userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetHandleOwners", tp_chan_iface_g
roup_get_handle_owners_async_callback, stuff, g_free, dbus_g_type_get_colle
ction ("GArray", G_TYPE_UINT), IN_handles, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetHandleOwners", tp_chan_iface_g
roup_get_handle_owners_async_callback, stuff, _dbus_glib_async_data_free, d
bus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handles, G_TYPE_INVAL
ID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_iface_group_get_local_pending_members (DBusGProxy *proxy, GArray**
OUT_arg0, GError **error) | | tp_chan_iface_group_get_local_pending_members (DBusGProxy *proxy, GArray**
OUT_arg0, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetLocalPendingMembers", error, G_TYPE_
INVALID, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), OUT_arg0, G_TY
PE_INVALID); | | return dbus_g_proxy_call (proxy, "GetLocalPendingMembers", error, G_TYPE_
INVALID, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), OUT_arg0, G_TY
PE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_iface_group_get_local_pending_members_reply) (DBusGP
roxy *proxy, GArray *OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_chan_iface_group_get_local_pending_members_reply) (DBusGP
roxy *proxy, GArray *OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_iface_group_get_local_pending_members_async_callback (DBusGProxy *p
roxy, DBusGProxyCall *call, void *user_data) | | tp_chan_iface_group_get_local_pending_members_async_callback (DBusGProxy *p
roxy, DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GArray* OUT_arg0; | | GArray* OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GArray", G_TYPE_UINT), &OUT_arg0, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GArray", G_TYPE_UINT), &OUT_arg0, G_TYPE_INVALID); | |
| (*(tp_chan_iface_group_get_local_pending_members_reply)data->cb) (proxy,
OUT_arg0, error, data->userdata); | | (*(tp_chan_iface_group_get_local_pending_members_reply)data->cb) (proxy,
OUT_arg0, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_iface_group_get_local_pending_members_async (DBusGProxy *proxy, tp_
chan_iface_group_get_local_pending_members_reply callback, gpointer userdat
a) | | tp_chan_iface_group_get_local_pending_members_async (DBusGProxy *proxy, tp_
chan_iface_group_get_local_pending_members_reply callback, gpointer userdat
a) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetLocalPendingMembers", tp_chan_
iface_group_get_local_pending_members_async_callback, stuff, g_free, G_TYPE
_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetLocalPendingMembers", tp_chan_
iface_group_get_local_pending_members_async_callback, stuff, _dbus_glib_asy
nc_data_free, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_iface_group_get_members (DBusGProxy *proxy, GArray** OUT_arg0, GErr
or **error) | | tp_chan_iface_group_get_members (DBusGProxy *proxy, GArray** OUT_arg0, GErr
or **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetMembers", error, G_TYPE_INVALID, dbu
s_g_type_get_collection ("GArray", G_TYPE_UINT), OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetMembers", error, G_TYPE_INVALID, dbu
s_g_type_get_collection ("GArray", G_TYPE_UINT), OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_iface_group_get_members_reply) (DBusGProxy *proxy, G
Array *OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_chan_iface_group_get_members_reply) (DBusGProxy *proxy, G
Array *OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_iface_group_get_members_async_callback (DBusGProxy *proxy, DBusGPro
xyCall *call, void *user_data) | | tp_chan_iface_group_get_members_async_callback (DBusGProxy *proxy, DBusGPro
xyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GArray* OUT_arg0; | | GArray* OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GArray", G_TYPE_UINT), &OUT_arg0, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GArray", G_TYPE_UINT), &OUT_arg0, G_TYPE_INVALID); | |
| (*(tp_chan_iface_group_get_members_reply)data->cb) (proxy, OUT_arg0, erro
r, data->userdata); | | (*(tp_chan_iface_group_get_members_reply)data->cb) (proxy, OUT_arg0, erro
r, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_iface_group_get_members_async (DBusGProxy *proxy, tp_chan_iface_gro
up_get_members_reply callback, gpointer userdata) | | tp_chan_iface_group_get_members_async (DBusGProxy *proxy, tp_chan_iface_gro
up_get_members_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetMembers", tp_chan_iface_group_
get_members_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetMembers", tp_chan_iface_group_
get_members_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVAL
ID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_iface_group_get_remote_pending_members (DBusGProxy *proxy, GArray**
OUT_arg0, GError **error) | | tp_chan_iface_group_get_remote_pending_members (DBusGProxy *proxy, GArray**
OUT_arg0, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetRemotePendingMembers", error, G_TYPE
_INVALID, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), OUT_arg0, G_T
YPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetRemotePendingMembers", error, G_TYPE
_INVALID, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), OUT_arg0, G_T
YPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_iface_group_get_remote_pending_members_reply) (DBusG
Proxy *proxy, GArray *OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_chan_iface_group_get_remote_pending_members_reply) (DBusG
Proxy *proxy, GArray *OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_iface_group_get_remote_pending_members_async_callback (DBusGProxy *
proxy, DBusGProxyCall *call, void *user_data) | | tp_chan_iface_group_get_remote_pending_members_async_callback (DBusGProxy *
proxy, DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GArray* OUT_arg0; | | GArray* OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GArray", G_TYPE_UINT), &OUT_arg0, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GArray", G_TYPE_UINT), &OUT_arg0, G_TYPE_INVALID); | |
| (*(tp_chan_iface_group_get_remote_pending_members_reply)data->cb) (proxy,
OUT_arg0, error, data->userdata); | | (*(tp_chan_iface_group_get_remote_pending_members_reply)data->cb) (proxy,
OUT_arg0, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_iface_group_get_remote_pending_members_async (DBusGProxy *proxy, tp
_chan_iface_group_get_remote_pending_members_reply callback, gpointer userd
ata) | | tp_chan_iface_group_get_remote_pending_members_async (DBusGProxy *proxy, tp
_chan_iface_group_get_remote_pending_members_reply callback, gpointer userd
ata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetRemotePendingMembers", tp_chan
_iface_group_get_remote_pending_members_async_callback, stuff, g_free, G_TY
PE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetRemotePendingMembers", tp_chan
_iface_group_get_remote_pending_members_async_callback, stuff, _dbus_glib_a
sync_data_free, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_iface_group_get_self_handle (DBusGProxy *proxy, guint* OUT_arg0, GE
rror **error) | | tp_chan_iface_group_get_self_handle (DBusGProxy *proxy, guint* OUT_arg0, GE
rror **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetSelfHandle", error, G_TYPE_INVALID,
G_TYPE_UINT, OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetSelfHandle", error, G_TYPE_INVALID,
G_TYPE_UINT, OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_iface_group_get_self_handle_reply) (DBusGProxy *prox
y, guint OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_chan_iface_group_get_self_handle_reply) (DBusGProxy *prox
y, guint OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_iface_group_get_self_handle_async_callback (DBusGProxy *proxy, DBus
GProxyCall *call, void *user_data) | | tp_chan_iface_group_get_self_handle_async_callback (DBusGProxy *proxy, DBus
GProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| guint OUT_arg0; | | guint OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg0, G_TYP
E_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg0, G_TYP
E_INVALID); | |
| (*(tp_chan_iface_group_get_self_handle_reply)data->cb) (proxy, OUT_arg0,
error, data->userdata); | | (*(tp_chan_iface_group_get_self_handle_reply)data->cb) (proxy, OUT_arg0,
error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_iface_group_get_self_handle_async (DBusGProxy *proxy, tp_chan_iface
_group_get_self_handle_reply callback, gpointer userdata) | | tp_chan_iface_group_get_self_handle_async (DBusGProxy *proxy, tp_chan_iface
_group_get_self_handle_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetSelfHandle", tp_chan_iface_gro
up_get_self_handle_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetSelfHandle", tp_chan_iface_gro
up_get_self_handle_async_callback, stuff, _dbus_glib_async_data_free, G_TYP
E_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_iface_group_remove_members (DBusGProxy *proxy, const GArray* IN_con
tacts, const char * IN_message, GError **error) | | tp_chan_iface_group_remove_members (DBusGProxy *proxy, const GArray* IN_con
tacts, const char * IN_message, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "RemoveMembers", error, dbus_g_type_get_
collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_STRING, IN_message,
G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "RemoveMembers", error, dbus_g_type_get_
collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_STRING, IN_message,
G_TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_iface_group_remove_members_reply) (DBusGProxy *proxy
, GError *error, gpointer userdata); | | typedef void (*tp_chan_iface_group_remove_members_reply) (DBusGProxy *proxy
, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_iface_group_remove_members_async_callback (DBusGProxy *proxy, DBusG
ProxyCall *call, void *user_data) | | tp_chan_iface_group_remove_members_async_callback (DBusGProxy *proxy, DBusG
ProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_chan_iface_group_remove_members_reply)data->cb) (proxy, error, data
->userdata); | | (*(tp_chan_iface_group_remove_members_reply)data->cb) (proxy, error, data
->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_iface_group_remove_members_async (DBusGProxy *proxy, const GArray*
IN_contacts, const char * IN_message, tp_chan_iface_group_remove_members_re
ply callback, gpointer userdata) | | tp_chan_iface_group_remove_members_async (DBusGProxy *proxy, const GArray*
IN_contacts, const char * IN_message, tp_chan_iface_group_remove_members_re
ply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "RemoveMembers", tp_chan_iface_gro
up_remove_members_async_callback, stuff, g_free, dbus_g_type_get_collection
("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_STRING, IN_message, G_TYPE_IN
VALID); | | return dbus_g_proxy_begin_call (proxy, "RemoveMembers", tp_chan_iface_gro
up_remove_members_async_callback, stuff, _dbus_glib_async_data_free, dbus_g
_type_get_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_STRING, I
N_message, G_TYPE_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Chann
el_Interface_Group */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Chann
el_Interface_Group */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 29 change blocks. |
| 29 lines changed or deleted | | 41 lines changed or added | |
|
| tp-chan-type-streamed-media-gen.h | | tp-chan-type-streamed-media-gen.h | |
| /* Generated by dbus-binding-tool; do not edit! */ | | /* Generated by dbus-binding-tool; do not edit! */ | |
| | | | |
|
| #include <glib/gtypes.h> | | #include <glib.h> | |
| #include <glib/gerror.h> | | | |
| #include <dbus/dbus-glib.h> | | #include <dbus/dbus-glib.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| | | #ifndef _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | #define _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | void | |
| | | _dbus_glib_async_data_free (gpointer stuff) | |
| | | { | |
| | | g_slice_free (DBusGAsyncData, stuff); | |
| | | } | |
| | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_St
reamedMedia | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_St
reamedMedia | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_St
reamedMedia | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_St
reamedMedia | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_type_streamed_media_list_streams (DBusGProxy *proxy, GPtrArray** OU
T_arg0, GError **error) | | tp_chan_type_streamed_media_list_streams (DBusGProxy *proxy, GPtrArray** OU
T_arg0, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "ListStreams", error, G_TYPE_INVALID, db
us_g_type_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray
", G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_
UINT, G_TYPE_INVALID)), OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "ListStreams", error, G_TYPE_INVALID, db
us_g_type_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray
", G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_
UINT, G_TYPE_INVALID)), OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_type_streamed_media_list_streams_reply) (DBusGProxy
*proxy, GPtrArray *OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_chan_type_streamed_media_list_streams_reply) (DBusGProxy
*proxy, GPtrArray *OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_type_streamed_media_list_streams_async_callback (DBusGProxy *proxy,
DBusGProxyCall *call, void *user_data) | | tp_chan_type_streamed_media_list_streams_async_callback (DBusGProxy *proxy,
DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GPtrArray* OUT_arg0; | | GPtrArray* OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT
, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), &OU
T_arg0, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT
, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), &OU
T_arg0, G_TYPE_INVALID); | |
| (*(tp_chan_type_streamed_media_list_streams_reply)data->cb) (proxy, OUT_a
rg0, error, data->userdata); | | (*(tp_chan_type_streamed_media_list_streams_reply)data->cb) (proxy, OUT_a
rg0, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_type_streamed_media_list_streams_async (DBusGProxy *proxy, tp_chan_
type_streamed_media_list_streams_reply callback, gpointer userdata) | | tp_chan_type_streamed_media_list_streams_async (DBusGProxy *proxy, tp_chan_
type_streamed_media_list_streams_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "ListStreams", tp_chan_type_stream
ed_media_list_streams_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "ListStreams", tp_chan_type_stream
ed_media_list_streams_async_callback, stuff, _dbus_glib_async_data_free, G_
TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_type_streamed_media_remove_streams (DBusGProxy *proxy, const GArray
* IN_streams, GError **error) | | tp_chan_type_streamed_media_remove_streams (DBusGProxy *proxy, const GArray
* IN_streams, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "RemoveStreams", error, dbus_g_type_get_
collection ("GArray", G_TYPE_UINT), IN_streams, G_TYPE_INVALID, G_TYPE_INVA
LID); | | return dbus_g_proxy_call (proxy, "RemoveStreams", error, dbus_g_type_get_
collection ("GArray", G_TYPE_UINT), IN_streams, G_TYPE_INVALID, G_TYPE_INVA
LID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_type_streamed_media_remove_streams_reply) (DBusGProx
y *proxy, GError *error, gpointer userdata); | | typedef void (*tp_chan_type_streamed_media_remove_streams_reply) (DBusGProx
y *proxy, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_type_streamed_media_remove_streams_async_callback (DBusGProxy *prox
y, DBusGProxyCall *call, void *user_data) | | tp_chan_type_streamed_media_remove_streams_async_callback (DBusGProxy *prox
y, DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_chan_type_streamed_media_remove_streams_reply)data->cb) (proxy, err
or, data->userdata); | | (*(tp_chan_type_streamed_media_remove_streams_reply)data->cb) (proxy, err
or, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_type_streamed_media_remove_streams_async (DBusGProxy *proxy, const
GArray* IN_streams, tp_chan_type_streamed_media_remove_streams_reply callba
ck, gpointer userdata) | | tp_chan_type_streamed_media_remove_streams_async (DBusGProxy *proxy, const
GArray* IN_streams, tp_chan_type_streamed_media_remove_streams_reply callba
ck, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "RemoveStreams", tp_chan_type_stre
amed_media_remove_streams_async_callback, stuff, g_free, dbus_g_type_get_co
llection ("GArray", G_TYPE_UINT), IN_streams, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "RemoveStreams", tp_chan_type_stre
amed_media_remove_streams_async_callback, stuff, _dbus_glib_async_data_free
, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_streams, G_TYPE_IN
VALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_type_streamed_media_request_stream_direction (DBusGProxy *proxy, co
nst guint IN_stream_id, const guint IN_stream_direction, GError **error) | | tp_chan_type_streamed_media_request_stream_direction (DBusGProxy *proxy, co
nst guint IN_stream_id, const guint IN_stream_direction, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "RequestStreamDirection", error, G_TYPE_
UINT, IN_stream_id, G_TYPE_UINT, IN_stream_direction, G_TYPE_INVALID, G_TYP
E_INVALID); | | return dbus_g_proxy_call (proxy, "RequestStreamDirection", error, G_TYPE_
UINT, IN_stream_id, G_TYPE_UINT, IN_stream_direction, G_TYPE_INVALID, G_TYP
E_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_type_streamed_media_request_stream_direction_reply)
(DBusGProxy *proxy, GError *error, gpointer userdata); | | typedef void (*tp_chan_type_streamed_media_request_stream_direction_reply)
(DBusGProxy *proxy, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_type_streamed_media_request_stream_direction_async_callback (DBusGP
roxy *proxy, DBusGProxyCall *call, void *user_data) | | tp_chan_type_streamed_media_request_stream_direction_async_callback (DBusGP
roxy *proxy, DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_chan_type_streamed_media_request_stream_direction_reply)data->cb) (
proxy, error, data->userdata); | | (*(tp_chan_type_streamed_media_request_stream_direction_reply)data->cb) (
proxy, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_type_streamed_media_request_stream_direction_async (DBusGProxy *pro
xy, const guint IN_stream_id, const guint IN_stream_direction, tp_chan_type
_streamed_media_request_stream_direction_reply callback, gpointer userdata) | | tp_chan_type_streamed_media_request_stream_direction_async (DBusGProxy *pro
xy, const guint IN_stream_id, const guint IN_stream_direction, tp_chan_type
_streamed_media_request_stream_direction_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "RequestStreamDirection", tp_chan_
type_streamed_media_request_stream_direction_async_callback, stuff, g_free,
G_TYPE_UINT, IN_stream_id, G_TYPE_UINT, IN_stream_direction, G_TYPE_INVALI
D); | | return dbus_g_proxy_begin_call (proxy, "RequestStreamDirection", tp_chan_
type_streamed_media_request_stream_direction_async_callback, stuff, _dbus_g
lib_async_data_free, G_TYPE_UINT, IN_stream_id, G_TYPE_UINT, IN_stream_dire
ction, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_type_streamed_media_request_streams (DBusGProxy *proxy, const guint
IN_contact_handle, const GArray* IN_types, GPtrArray** OUT_arg2, GError **
error) | | tp_chan_type_streamed_media_request_streams (DBusGProxy *proxy, const guint
IN_contact_handle, const GArray* IN_types, GPtrArray** OUT_arg2, GError **
error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "RequestStreams", error, G_TYPE_UINT, IN
_contact_handle, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_typ
es, G_TYPE_INVALID, dbus_g_type_get_collection ("GPtrArray", dbus_g_type_ge
t_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT
, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), OUT_arg2, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "RequestStreams", error, G_TYPE_UINT, IN
_contact_handle, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_typ
es, G_TYPE_INVALID, dbus_g_type_get_collection ("GPtrArray", dbus_g_type_ge
t_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT
, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), OUT_arg2, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_type_streamed_media_request_streams_reply) (DBusGPro
xy *proxy, GPtrArray *OUT_arg2, GError *error, gpointer userdata); | | typedef void (*tp_chan_type_streamed_media_request_streams_reply) (DBusGPro
xy *proxy, GPtrArray *OUT_arg2, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_type_streamed_media_request_streams_async_callback (DBusGProxy *pro
xy, DBusGProxyCall *call, void *user_data) | | tp_chan_type_streamed_media_request_streams_async_callback (DBusGProxy *pro
xy, DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GPtrArray* OUT_arg2; | | GPtrArray* OUT_arg2; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT
, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), &OU
T_arg2, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT
, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), &OU
T_arg2, G_TYPE_INVALID); | |
| (*(tp_chan_type_streamed_media_request_streams_reply)data->cb) (proxy, OU
T_arg2, error, data->userdata); | | (*(tp_chan_type_streamed_media_request_streams_reply)data->cb) (proxy, OU
T_arg2, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_type_streamed_media_request_streams_async (DBusGProxy *proxy, const
guint IN_contact_handle, const GArray* IN_types, tp_chan_type_streamed_med
ia_request_streams_reply callback, gpointer userdata) | | tp_chan_type_streamed_media_request_streams_async (DBusGProxy *proxy, const
guint IN_contact_handle, const GArray* IN_types, tp_chan_type_streamed_med
ia_request_streams_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "RequestStreams", tp_chan_type_str
eamed_media_request_streams_async_callback, stuff, g_free, G_TYPE_UINT, IN_
contact_handle, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_type
s, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "RequestStreams", tp_chan_type_str
eamed_media_request_streams_async_callback, stuff, _dbus_glib_async_data_fr
ee, G_TYPE_UINT, IN_contact_handle, dbus_g_type_get_collection ("GArray", G
_TYPE_UINT), IN_types, G_TYPE_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Chann
el_Type_StreamedMedia */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Chann
el_Type_StreamedMedia */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 14 change blocks. |
| 14 lines changed or deleted | | 26 lines changed or added | |
|
| tp-chan-type-text-gen.h | | tp-chan-type-text-gen.h | |
| /* Generated by dbus-binding-tool; do not edit! */ | | /* Generated by dbus-binding-tool; do not edit! */ | |
| | | | |
|
| #include <glib/gtypes.h> | | #include <glib.h> | |
| #include <glib/gerror.h> | | | |
| #include <dbus/dbus-glib.h> | | #include <dbus/dbus-glib.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| | | #ifndef _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | #define _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | void | |
| | | _dbus_glib_async_data_free (gpointer stuff) | |
| | | { | |
| | | g_slice_free (DBusGAsyncData, stuff); | |
| | | } | |
| | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_Te
xt | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_Te
xt | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_Te
xt | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_Te
xt | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_type_text_acknowledge_pending_messages (DBusGProxy *proxy, const GA
rray* IN_ids, GError **error) | | tp_chan_type_text_acknowledge_pending_messages (DBusGProxy *proxy, const GA
rray* IN_ids, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "AcknowledgePendingMessages", error, dbu
s_g_type_get_collection ("GArray", G_TYPE_UINT), IN_ids, G_TYPE_INVALID, G_
TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "AcknowledgePendingMessages", error, dbu
s_g_type_get_collection ("GArray", G_TYPE_UINT), IN_ids, G_TYPE_INVALID, G_
TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_type_text_acknowledge_pending_messages_reply) (DBusG
Proxy *proxy, GError *error, gpointer userdata); | | typedef void (*tp_chan_type_text_acknowledge_pending_messages_reply) (DBusG
Proxy *proxy, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_type_text_acknowledge_pending_messages_async_callback (DBusGProxy *
proxy, DBusGProxyCall *call, void *user_data) | | tp_chan_type_text_acknowledge_pending_messages_async_callback (DBusGProxy *
proxy, DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_chan_type_text_acknowledge_pending_messages_reply)data->cb) (proxy,
error, data->userdata); | | (*(tp_chan_type_text_acknowledge_pending_messages_reply)data->cb) (proxy,
error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_type_text_acknowledge_pending_messages_async (DBusGProxy *proxy, co
nst GArray* IN_ids, tp_chan_type_text_acknowledge_pending_messages_reply ca
llback, gpointer userdata) | | tp_chan_type_text_acknowledge_pending_messages_async (DBusGProxy *proxy, co
nst GArray* IN_ids, tp_chan_type_text_acknowledge_pending_messages_reply ca
llback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "AcknowledgePendingMessages", tp_c
han_type_text_acknowledge_pending_messages_async_callback, stuff, g_free, d
bus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_ids, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "AcknowledgePendingMessages", tp_c
han_type_text_acknowledge_pending_messages_async_callback, stuff, _dbus_gli
b_async_data_free, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_i
ds, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_type_text_get_message_types (DBusGProxy *proxy, GArray** OUT_arg0,
GError **error) | | tp_chan_type_text_get_message_types (DBusGProxy *proxy, GArray** OUT_arg0,
GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetMessageTypes", error, G_TYPE_INVALID
, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), OUT_arg0, G_TYPE_INVA
LID); | | return dbus_g_proxy_call (proxy, "GetMessageTypes", error, G_TYPE_INVALID
, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), OUT_arg0, G_TYPE_INVA
LID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_type_text_get_message_types_reply) (DBusGProxy *prox
y, GArray *OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_chan_type_text_get_message_types_reply) (DBusGProxy *prox
y, GArray *OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_type_text_get_message_types_async_callback (DBusGProxy *proxy, DBus
GProxyCall *call, void *user_data) | | tp_chan_type_text_get_message_types_async_callback (DBusGProxy *proxy, DBus
GProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GArray* OUT_arg0; | | GArray* OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GArray", G_TYPE_UINT), &OUT_arg0, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GArray", G_TYPE_UINT), &OUT_arg0, G_TYPE_INVALID); | |
| (*(tp_chan_type_text_get_message_types_reply)data->cb) (proxy, OUT_arg0,
error, data->userdata); | | (*(tp_chan_type_text_get_message_types_reply)data->cb) (proxy, OUT_arg0,
error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_type_text_get_message_types_async (DBusGProxy *proxy, tp_chan_type_
text_get_message_types_reply callback, gpointer userdata) | | tp_chan_type_text_get_message_types_async (DBusGProxy *proxy, tp_chan_type_
text_get_message_types_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetMessageTypes", tp_chan_type_te
xt_get_message_types_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetMessageTypes", tp_chan_type_te
xt_get_message_types_async_callback, stuff, _dbus_glib_async_data_free, G_T
YPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_type_text_list_pending_messages (DBusGProxy *proxy, const gboolean
IN_clear, GPtrArray** OUT_arg1, GError **error) | | tp_chan_type_text_list_pending_messages (DBusGProxy *proxy, const gboolean
IN_clear, GPtrArray** OUT_arg1, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "ListPendingMessages", error, G_TYPE_BOO
LEAN, IN_clear, G_TYPE_INVALID, dbus_g_type_get_collection ("GPtrArray", db
us_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT,
G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_INVALID)), OUT_arg1, G_TYP
E_INVALID); | | return dbus_g_proxy_call (proxy, "ListPendingMessages", error, G_TYPE_BOO
LEAN, IN_clear, G_TYPE_INVALID, dbus_g_type_get_collection ("GPtrArray", db
us_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT,
G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_INVALID)), OUT_arg1, G_TYP
E_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_type_text_list_pending_messages_reply) (DBusGProxy *
proxy, GPtrArray *OUT_arg1, GError *error, gpointer userdata); | | typedef void (*tp_chan_type_text_list_pending_messages_reply) (DBusGProxy *
proxy, GPtrArray *OUT_arg1, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_type_text_list_pending_messages_async_callback (DBusGProxy *proxy,
DBusGProxyCall *call, void *user_data) | | tp_chan_type_text_list_pending_messages_async_callback (DBusGProxy *proxy,
DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GPtrArray* OUT_arg1; | | GPtrArray* OUT_arg1; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT
, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_INVALID)), &
OUT_arg1, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT
, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_INVALID)), &
OUT_arg1, G_TYPE_INVALID); | |
| (*(tp_chan_type_text_list_pending_messages_reply)data->cb) (proxy, OUT_ar
g1, error, data->userdata); | | (*(tp_chan_type_text_list_pending_messages_reply)data->cb) (proxy, OUT_ar
g1, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_type_text_list_pending_messages_async (DBusGProxy *proxy, const gbo
olean IN_clear, tp_chan_type_text_list_pending_messages_reply callback, gpo
inter userdata) | | tp_chan_type_text_list_pending_messages_async (DBusGProxy *proxy, const gbo
olean IN_clear, tp_chan_type_text_list_pending_messages_reply callback, gpo
inter userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "ListPendingMessages", tp_chan_typ
e_text_list_pending_messages_async_callback, stuff, g_free, G_TYPE_BOOLEAN,
IN_clear, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "ListPendingMessages", tp_chan_typ
e_text_list_pending_messages_async_callback, stuff, _dbus_glib_async_data_f
ree, G_TYPE_BOOLEAN, IN_clear, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_type_text_send (DBusGProxy *proxy, const guint IN_type, const char
* IN_text, GError **error) | | tp_chan_type_text_send (DBusGProxy *proxy, const guint IN_type, const char
* IN_text, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "Send", error, G_TYPE_UINT, IN_type, G_T
YPE_STRING, IN_text, G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "Send", error, G_TYPE_UINT, IN_type, G_T
YPE_STRING, IN_text, G_TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_chan_type_text_send_reply) (DBusGProxy *proxy, GError *er
ror, gpointer userdata); | | typedef void (*tp_chan_type_text_send_reply) (DBusGProxy *proxy, GError *er
ror, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_type_text_send_async_callback (DBusGProxy *proxy, DBusGProxyCall *c
all, void *user_data) | | tp_chan_type_text_send_async_callback (DBusGProxy *proxy, DBusGProxyCall *c
all, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_chan_type_text_send_reply)data->cb) (proxy, error, data->userdata); | | (*(tp_chan_type_text_send_reply)data->cb) (proxy, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_chan_type_text_send_async (DBusGProxy *proxy, const guint IN_type, const
char * IN_text, tp_chan_type_text_send_reply callback, gpointer userdata) | | tp_chan_type_text_send_async (DBusGProxy *proxy, const guint IN_type, const
char * IN_text, tp_chan_type_text_send_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "Send", tp_chan_type_text_send_asy
nc_callback, stuff, g_free, G_TYPE_UINT, IN_type, G_TYPE_STRING, IN_text, G
_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "Send", tp_chan_type_text_send_asy
nc_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_type, G_TYP
E_STRING, IN_text, G_TYPE_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Chann
el_Type_Text */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Chann
el_Type_Text */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 14 change blocks. |
| 14 lines changed or deleted | | 26 lines changed or added | |
|
| tp-conn-gen.h | | tp-conn-gen.h | |
| /* Generated by dbus-binding-tool; do not edit! */ | | /* Generated by dbus-binding-tool; do not edit! */ | |
| | | | |
|
| #include <glib/gtypes.h> | | #include <glib.h> | |
| #include <glib/gerror.h> | | | |
| #include <dbus/dbus-glib.h> | | #include <dbus/dbus-glib.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| | | #ifndef _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | #define _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | void | |
| | | _dbus_glib_async_data_free (gpointer stuff) | |
| | | { | |
| | | g_slice_free (DBusGAsyncData, stuff); | |
| | | } | |
| | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_connect (DBusGProxy *proxy, GError **error) | | tp_conn_connect (DBusGProxy *proxy, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "Connect", error, G_TYPE_INVALID, G_TYPE
_INVALID); | | return dbus_g_proxy_call (proxy, "Connect", error, G_TYPE_INVALID, G_TYPE
_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_connect_reply) (DBusGProxy *proxy, GError *error, gp
ointer userdata); | | typedef void (*tp_conn_connect_reply) (DBusGProxy *proxy, GError *error, gp
ointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_connect_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, vo
id *user_data) | | tp_conn_connect_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, vo
id *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_conn_connect_reply)data->cb) (proxy, error, data->userdata); | | (*(tp_conn_connect_reply)data->cb) (proxy, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_connect_async (DBusGProxy *proxy, tp_conn_connect_reply callback, g
pointer userdata) | | tp_conn_connect_async (DBusGProxy *proxy, tp_conn_connect_reply callback, g
pointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "Connect", tp_conn_connect_async_c
allback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "Connect", tp_conn_connect_async_c
allback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_disconnect (DBusGProxy *proxy, GError **error) | | tp_conn_disconnect (DBusGProxy *proxy, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "Disconnect", error, G_TYPE_INVALID, G_T
YPE_INVALID); | | return dbus_g_proxy_call (proxy, "Disconnect", error, G_TYPE_INVALID, G_T
YPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_disconnect_reply) (DBusGProxy *proxy, GError *error,
gpointer userdata); | | typedef void (*tp_conn_disconnect_reply) (DBusGProxy *proxy, GError *error,
gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_disconnect_async_callback (DBusGProxy *proxy, DBusGProxyCall *call,
void *user_data) | | tp_conn_disconnect_async_callback (DBusGProxy *proxy, DBusGProxyCall *call,
void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_conn_disconnect_reply)data->cb) (proxy, error, data->userdata); | | (*(tp_conn_disconnect_reply)data->cb) (proxy, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_disconnect_async (DBusGProxy *proxy, tp_conn_disconnect_reply callb
ack, gpointer userdata) | | tp_conn_disconnect_async (DBusGProxy *proxy, tp_conn_disconnect_reply callb
ack, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "Disconnect", tp_conn_disconnect_a
sync_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "Disconnect", tp_conn_disconnect_a
sync_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_get_interfaces (DBusGProxy *proxy, char *** OUT_arg0, GError **erro
r) | | tp_conn_get_interfaces (DBusGProxy *proxy, char *** OUT_arg0, GError **erro
r) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetInterfaces", error, G_TYPE_INVALID,
G_TYPE_STRV, OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetInterfaces", error, G_TYPE_INVALID,
G_TYPE_STRV, OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_get_interfaces_reply) (DBusGProxy *proxy, char * *OU
T_arg0, GError *error, gpointer userdata); | | typedef void (*tp_conn_get_interfaces_reply) (DBusGProxy *proxy, char * *OU
T_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_get_interfaces_async_callback (DBusGProxy *proxy, DBusGProxyCall *c
all, void *user_data) | | tp_conn_get_interfaces_async_callback (DBusGProxy *proxy, DBusGProxyCall *c
all, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| char ** OUT_arg0; | | char ** OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg0, G_TYP
E_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg0, G_TYP
E_INVALID); | |
| (*(tp_conn_get_interfaces_reply)data->cb) (proxy, OUT_arg0, error, data->
userdata); | | (*(tp_conn_get_interfaces_reply)data->cb) (proxy, OUT_arg0, error, data->
userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_get_interfaces_async (DBusGProxy *proxy, tp_conn_get_interfaces_rep
ly callback, gpointer userdata) | | tp_conn_get_interfaces_async (DBusGProxy *proxy, tp_conn_get_interfaces_rep
ly callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetInterfaces", tp_conn_get_inter
faces_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetInterfaces", tp_conn_get_inter
faces_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_get_protocol (DBusGProxy *proxy, char ** OUT_arg0, GError **error) | | tp_conn_get_protocol (DBusGProxy *proxy, char ** OUT_arg0, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetProtocol", error, G_TYPE_INVALID, G_
TYPE_STRING, OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetProtocol", error, G_TYPE_INVALID, G_
TYPE_STRING, OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_get_protocol_reply) (DBusGProxy *proxy, char * OUT_a
rg0, GError *error, gpointer userdata); | | typedef void (*tp_conn_get_protocol_reply) (DBusGProxy *proxy, char * OUT_a
rg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_get_protocol_async_callback (DBusGProxy *proxy, DBusGProxyCall *cal
l, void *user_data) | | tp_conn_get_protocol_async_callback (DBusGProxy *proxy, DBusGProxyCall *cal
l, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| char * OUT_arg0; | | char * OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg0, G_T
YPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg0, G_T
YPE_INVALID); | |
| (*(tp_conn_get_protocol_reply)data->cb) (proxy, OUT_arg0, error, data->us
erdata); | | (*(tp_conn_get_protocol_reply)data->cb) (proxy, OUT_arg0, error, data->us
erdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_get_protocol_async (DBusGProxy *proxy, tp_conn_get_protocol_reply c
allback, gpointer userdata) | | tp_conn_get_protocol_async (DBusGProxy *proxy, tp_conn_get_protocol_reply c
allback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetProtocol", tp_conn_get_protoco
l_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetProtocol", tp_conn_get_protoco
l_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_get_self_handle (DBusGProxy *proxy, guint* OUT_arg0, GError **error
) | | tp_conn_get_self_handle (DBusGProxy *proxy, guint* OUT_arg0, GError **error
) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetSelfHandle", error, G_TYPE_INVALID,
G_TYPE_UINT, OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetSelfHandle", error, G_TYPE_INVALID,
G_TYPE_UINT, OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_get_self_handle_reply) (DBusGProxy *proxy, guint OUT
_arg0, GError *error, gpointer userdata); | | typedef void (*tp_conn_get_self_handle_reply) (DBusGProxy *proxy, guint OUT
_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_get_self_handle_async_callback (DBusGProxy *proxy, DBusGProxyCall *
call, void *user_data) | | tp_conn_get_self_handle_async_callback (DBusGProxy *proxy, DBusGProxyCall *
call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| guint OUT_arg0; | | guint OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg0, G_TYP
E_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg0, G_TYP
E_INVALID); | |
| (*(tp_conn_get_self_handle_reply)data->cb) (proxy, OUT_arg0, error, data-
>userdata); | | (*(tp_conn_get_self_handle_reply)data->cb) (proxy, OUT_arg0, error, data-
>userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_get_self_handle_async (DBusGProxy *proxy, tp_conn_get_self_handle_r
eply callback, gpointer userdata) | | tp_conn_get_self_handle_async (DBusGProxy *proxy, tp_conn_get_self_handle_r
eply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetSelfHandle", tp_conn_get_self_
handle_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetSelfHandle", tp_conn_get_self_
handle_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_get_status (DBusGProxy *proxy, guint* OUT_arg0, GError **error) | | tp_conn_get_status (DBusGProxy *proxy, guint* OUT_arg0, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetStatus", error, G_TYPE_INVALID, G_TY
PE_UINT, OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetStatus", error, G_TYPE_INVALID, G_TY
PE_UINT, OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_get_status_reply) (DBusGProxy *proxy, guint OUT_arg0
, GError *error, gpointer userdata); | | typedef void (*tp_conn_get_status_reply) (DBusGProxy *proxy, guint OUT_arg0
, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_get_status_async_callback (DBusGProxy *proxy, DBusGProxyCall *call,
void *user_data) | | tp_conn_get_status_async_callback (DBusGProxy *proxy, DBusGProxyCall *call,
void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| guint OUT_arg0; | | guint OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg0, G_TYP
E_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg0, G_TYP
E_INVALID); | |
| (*(tp_conn_get_status_reply)data->cb) (proxy, OUT_arg0, error, data->user
data); | | (*(tp_conn_get_status_reply)data->cb) (proxy, OUT_arg0, error, data->user
data); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_get_status_async (DBusGProxy *proxy, tp_conn_get_status_reply callb
ack, gpointer userdata) | | tp_conn_get_status_async (DBusGProxy *proxy, tp_conn_get_status_reply callb
ack, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetStatus", tp_conn_get_status_as
ync_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetStatus", tp_conn_get_status_as
ync_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_hold_handles (DBusGProxy *proxy, const guint IN_handle_type, const
GArray* IN_handles, GError **error) | | tp_conn_hold_handles (DBusGProxy *proxy, const guint IN_handle_type, const
GArray* IN_handles, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "HoldHandles", error, G_TYPE_UINT, IN_ha
ndle_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handles,
G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "HoldHandles", error, G_TYPE_UINT, IN_ha
ndle_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handles,
G_TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_hold_handles_reply) (DBusGProxy *proxy, GError *erro
r, gpointer userdata); | | typedef void (*tp_conn_hold_handles_reply) (DBusGProxy *proxy, GError *erro
r, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_hold_handles_async_callback (DBusGProxy *proxy, DBusGProxyCall *cal
l, void *user_data) | | tp_conn_hold_handles_async_callback (DBusGProxy *proxy, DBusGProxyCall *cal
l, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_conn_hold_handles_reply)data->cb) (proxy, error, data->userdata); | | (*(tp_conn_hold_handles_reply)data->cb) (proxy, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_hold_handles_async (DBusGProxy *proxy, const guint IN_handle_type,
const GArray* IN_handles, tp_conn_hold_handles_reply callback, gpointer use
rdata) | | tp_conn_hold_handles_async (DBusGProxy *proxy, const guint IN_handle_type,
const GArray* IN_handles, tp_conn_hold_handles_reply callback, gpointer use
rdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "HoldHandles", tp_conn_hold_handle
s_async_callback, stuff, g_free, G_TYPE_UINT, IN_handle_type, dbus_g_type_g
et_collection ("GArray", G_TYPE_UINT), IN_handles, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "HoldHandles", tp_conn_hold_handle
s_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_handle
_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handles, G_TY
PE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_inspect_handles (DBusGProxy *proxy, const guint IN_handle_type, con
st GArray* IN_handles, char *** OUT_arg2, GError **error) | | tp_conn_inspect_handles (DBusGProxy *proxy, const guint IN_handle_type, con
st GArray* IN_handles, char *** OUT_arg2, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "InspectHandles", error, G_TYPE_UINT, IN
_handle_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handle
s, G_TYPE_INVALID, G_TYPE_STRV, OUT_arg2, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "InspectHandles", error, G_TYPE_UINT, IN
_handle_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handle
s, G_TYPE_INVALID, G_TYPE_STRV, OUT_arg2, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_inspect_handles_reply) (DBusGProxy *proxy, char * *O
UT_arg2, GError *error, gpointer userdata); | | typedef void (*tp_conn_inspect_handles_reply) (DBusGProxy *proxy, char * *O
UT_arg2, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_inspect_handles_async_callback (DBusGProxy *proxy, DBusGProxyCall *
call, void *user_data) | | tp_conn_inspect_handles_async_callback (DBusGProxy *proxy, DBusGProxyCall *
call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| char ** OUT_arg2; | | char ** OUT_arg2; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg2, G_TYP
E_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg2, G_TYP
E_INVALID); | |
| (*(tp_conn_inspect_handles_reply)data->cb) (proxy, OUT_arg2, error, data-
>userdata); | | (*(tp_conn_inspect_handles_reply)data->cb) (proxy, OUT_arg2, error, data-
>userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_inspect_handles_async (DBusGProxy *proxy, const guint IN_handle_typ
e, const GArray* IN_handles, tp_conn_inspect_handles_reply callback, gpoint
er userdata) | | tp_conn_inspect_handles_async (DBusGProxy *proxy, const guint IN_handle_typ
e, const GArray* IN_handles, tp_conn_inspect_handles_reply callback, gpoint
er userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "InspectHandles", tp_conn_inspect_
handles_async_callback, stuff, g_free, G_TYPE_UINT, IN_handle_type, dbus_g_
type_get_collection ("GArray", G_TYPE_UINT), IN_handles, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "InspectHandles", tp_conn_inspect_
handles_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_
handle_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handles
, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_list_channels (DBusGProxy *proxy, GPtrArray** OUT_arg0, GError **er
ror) | | tp_conn_list_channels (DBusGProxy *proxy, GPtrArray** OUT_arg0, GError **er
ror) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "ListChannels", error, G_TYPE_INVALID, d
bus_g_type_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArra
y", DBUS_TYPE_G_OBJECT_PATH, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYP
E_INVALID)), OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "ListChannels", error, G_TYPE_INVALID, d
bus_g_type_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArra
y", DBUS_TYPE_G_OBJECT_PATH, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYP
E_INVALID)), OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_list_channels_reply) (DBusGProxy *proxy, GPtrArray *
OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_conn_list_channels_reply) (DBusGProxy *proxy, GPtrArray *
OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_list_channels_async_callback (DBusGProxy *proxy, DBusGProxyCall *ca
ll, void *user_data) | | tp_conn_list_channels_async_callback (DBusGProxy *proxy, DBusGProxyCall *ca
ll, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GPtrArray* OUT_arg0; | | GPtrArray* OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", DBUS_TYPE_G_OBJECT_PATH,
G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), &OUT_arg0, G_TY
PE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", DBUS_TYPE_G_OBJECT_PATH,
G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), &OUT_arg0, G_TY
PE_INVALID); | |
| (*(tp_conn_list_channels_reply)data->cb) (proxy, OUT_arg0, error, data->u
serdata); | | (*(tp_conn_list_channels_reply)data->cb) (proxy, OUT_arg0, error, data->u
serdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_list_channels_async (DBusGProxy *proxy, tp_conn_list_channels_reply
callback, gpointer userdata) | | tp_conn_list_channels_async (DBusGProxy *proxy, tp_conn_list_channels_reply
callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "ListChannels", tp_conn_list_chann
els_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "ListChannels", tp_conn_list_chann
els_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_release_handles (DBusGProxy *proxy, const guint IN_handle_type, con
st GArray* IN_handles, GError **error) | | tp_conn_release_handles (DBusGProxy *proxy, const guint IN_handle_type, con
st GArray* IN_handles, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "ReleaseHandles", error, G_TYPE_UINT, IN
_handle_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handle
s, G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "ReleaseHandles", error, G_TYPE_UINT, IN
_handle_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handle
s, G_TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_release_handles_reply) (DBusGProxy *proxy, GError *e
rror, gpointer userdata); | | typedef void (*tp_conn_release_handles_reply) (DBusGProxy *proxy, GError *e
rror, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_release_handles_async_callback (DBusGProxy *proxy, DBusGProxyCall *
call, void *user_data) | | tp_conn_release_handles_async_callback (DBusGProxy *proxy, DBusGProxyCall *
call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_conn_release_handles_reply)data->cb) (proxy, error, data->userdata)
; | | (*(tp_conn_release_handles_reply)data->cb) (proxy, error, data->userdata)
; | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_release_handles_async (DBusGProxy *proxy, const guint IN_handle_typ
e, const GArray* IN_handles, tp_conn_release_handles_reply callback, gpoint
er userdata) | | tp_conn_release_handles_async (DBusGProxy *proxy, const guint IN_handle_typ
e, const GArray* IN_handles, tp_conn_release_handles_reply callback, gpoint
er userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "ReleaseHandles", tp_conn_release_
handles_async_callback, stuff, g_free, G_TYPE_UINT, IN_handle_type, dbus_g_
type_get_collection ("GArray", G_TYPE_UINT), IN_handles, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "ReleaseHandles", tp_conn_release_
handles_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_
handle_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handles
, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_request_channel (DBusGProxy *proxy, const char * IN_type, const gui
nt IN_handle_type, const guint IN_handle, const gboolean IN_suppress_handle
r, char** OUT_arg4, GError **error) | | tp_conn_request_channel (DBusGProxy *proxy, const char * IN_type, const gui
nt IN_handle_type, const guint IN_handle, const gboolean IN_suppress_handle
r, char** OUT_arg4, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "RequestChannel", error, G_TYPE_STRING,
IN_type, G_TYPE_UINT, IN_handle_type, G_TYPE_UINT, IN_handle, G_TYPE_BOOLEA
N, IN_suppress_handler, G_TYPE_INVALID, DBUS_TYPE_G_OBJECT_PATH, OUT_arg4,
G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "RequestChannel", error, G_TYPE_STRING,
IN_type, G_TYPE_UINT, IN_handle_type, G_TYPE_UINT, IN_handle, G_TYPE_BOOLEA
N, IN_suppress_handler, G_TYPE_INVALID, DBUS_TYPE_G_OBJECT_PATH, OUT_arg4,
G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_request_channel_reply) (DBusGProxy *proxy, char *OUT
_arg4, GError *error, gpointer userdata); | | typedef void (*tp_conn_request_channel_reply) (DBusGProxy *proxy, char *OUT
_arg4, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_request_channel_async_callback (DBusGProxy *proxy, DBusGProxyCall *
call, void *user_data) | | tp_conn_request_channel_async_callback (DBusGProxy *proxy, DBusGProxyCall *
call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| char* OUT_arg4; | | char* OUT_arg4; | |
| dbus_g_proxy_end_call (proxy, call, &error, DBUS_TYPE_G_OBJECT_PATH, &OUT
_arg4, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, DBUS_TYPE_G_OBJECT_PATH, &OUT
_arg4, G_TYPE_INVALID); | |
| (*(tp_conn_request_channel_reply)data->cb) (proxy, OUT_arg4, error, data-
>userdata); | | (*(tp_conn_request_channel_reply)data->cb) (proxy, OUT_arg4, error, data-
>userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_request_channel_async (DBusGProxy *proxy, const char * IN_type, con
st guint IN_handle_type, const guint IN_handle, const gboolean IN_suppress_
handler, tp_conn_request_channel_reply callback, gpointer userdata) | | tp_conn_request_channel_async (DBusGProxy *proxy, const char * IN_type, con
st guint IN_handle_type, const guint IN_handle, const gboolean IN_suppress_
handler, tp_conn_request_channel_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "RequestChannel", tp_conn_request_
channel_async_callback, stuff, g_free, G_TYPE_STRING, IN_type, G_TYPE_UINT,
IN_handle_type, G_TYPE_UINT, IN_handle, G_TYPE_BOOLEAN, IN_suppress_handle
r, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "RequestChannel", tp_conn_request_
channel_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_STRING, I
N_type, G_TYPE_UINT, IN_handle_type, G_TYPE_UINT, IN_handle, G_TYPE_BOOLEAN
, IN_suppress_handler, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_request_handles (DBusGProxy *proxy, const guint IN_handle_type, con
st char ** IN_names, GArray** OUT_arg2, GError **error) | | tp_conn_request_handles (DBusGProxy *proxy, const guint IN_handle_type, con
st char ** IN_names, GArray** OUT_arg2, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "RequestHandles", error, G_TYPE_UINT, IN
_handle_type, G_TYPE_STRV, IN_names, G_TYPE_INVALID, dbus_g_type_get_collec
tion ("GArray", G_TYPE_UINT), OUT_arg2, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "RequestHandles", error, G_TYPE_UINT, IN
_handle_type, G_TYPE_STRV, IN_names, G_TYPE_INVALID, dbus_g_type_get_collec
tion ("GArray", G_TYPE_UINT), OUT_arg2, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_request_handles_reply) (DBusGProxy *proxy, GArray *O
UT_arg2, GError *error, gpointer userdata); | | typedef void (*tp_conn_request_handles_reply) (DBusGProxy *proxy, GArray *O
UT_arg2, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_request_handles_async_callback (DBusGProxy *proxy, DBusGProxyCall *
call, void *user_data) | | tp_conn_request_handles_async_callback (DBusGProxy *proxy, DBusGProxyCall *
call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GArray* OUT_arg2; | | GArray* OUT_arg2; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GArray", G_TYPE_UINT), &OUT_arg2, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GArray", G_TYPE_UINT), &OUT_arg2, G_TYPE_INVALID); | |
| (*(tp_conn_request_handles_reply)data->cb) (proxy, OUT_arg2, error, data-
>userdata); | | (*(tp_conn_request_handles_reply)data->cb) (proxy, OUT_arg2, error, data-
>userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_request_handles_async (DBusGProxy *proxy, const guint IN_handle_typ
e, const char ** IN_names, tp_conn_request_handles_reply callback, gpointer
userdata) | | tp_conn_request_handles_async (DBusGProxy *proxy, const guint IN_handle_typ
e, const char ** IN_names, tp_conn_request_handles_reply callback, gpointer
userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "RequestHandles", tp_conn_request_
handles_async_callback, stuff, g_free, G_TYPE_UINT, IN_handle_type, G_TYPE_
STRV, IN_names, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "RequestHandles", tp_conn_request_
handles_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_
handle_type, G_TYPE_STRV, IN_names, G_TYPE_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ction */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ction */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 38 change blocks. |
| 38 lines changed or deleted | | 50 lines changed or added | |
|
| tp-conn-iface-aliasing-gen.h | | tp-conn-iface-aliasing-gen.h | |
| /* Generated by dbus-binding-tool; do not edit! */ | | /* Generated by dbus-binding-tool; do not edit! */ | |
| | | | |
|
| #include <glib/gtypes.h> | | #include <glib.h> | |
| #include <glib/gerror.h> | | | |
| #include <dbus/dbus-glib.h> | | #include <dbus/dbus-glib.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| | | #ifndef _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | #define _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | void | |
| | | _dbus_glib_async_data_free (gpointer stuff) | |
| | | { | |
| | | g_slice_free (DBusGAsyncData, stuff); | |
| | | } | |
| | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Aliasing | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Aliasing | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Aliasing | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Aliasing | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_aliasing_get_alias_flags (DBusGProxy *proxy, guint* OUT_arg0,
GError **error) | | tp_conn_iface_aliasing_get_alias_flags (DBusGProxy *proxy, guint* OUT_arg0,
GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetAliasFlags", error, G_TYPE_INVALID,
G_TYPE_UINT, OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetAliasFlags", error, G_TYPE_INVALID,
G_TYPE_UINT, OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_aliasing_get_alias_flags_reply) (DBusGProxy *p
roxy, guint OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_aliasing_get_alias_flags_reply) (DBusGProxy *p
roxy, guint OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_aliasing_get_alias_flags_async_callback (DBusGProxy *proxy, D
BusGProxyCall *call, void *user_data) | | tp_conn_iface_aliasing_get_alias_flags_async_callback (DBusGProxy *proxy, D
BusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| guint OUT_arg0; | | guint OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg0, G_TYP
E_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg0, G_TYP
E_INVALID); | |
| (*(tp_conn_iface_aliasing_get_alias_flags_reply)data->cb) (proxy, OUT_arg
0, error, data->userdata); | | (*(tp_conn_iface_aliasing_get_alias_flags_reply)data->cb) (proxy, OUT_arg
0, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_aliasing_get_alias_flags_async (DBusGProxy *proxy, tp_conn_if
ace_aliasing_get_alias_flags_reply callback, gpointer userdata) | | tp_conn_iface_aliasing_get_alias_flags_async (DBusGProxy *proxy, tp_conn_if
ace_aliasing_get_alias_flags_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetAliasFlags", tp_conn_iface_ali
asing_get_alias_flags_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetAliasFlags", tp_conn_iface_ali
asing_get_alias_flags_async_callback, stuff, _dbus_glib_async_data_free, G_
TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_aliasing_request_aliases (DBusGProxy *proxy, const GArray* IN
_contacts, char *** OUT_arg1, GError **error) | | tp_conn_iface_aliasing_request_aliases (DBusGProxy *proxy, const GArray* IN
_contacts, char *** OUT_arg1, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "RequestAliases", error, dbus_g_type_get
_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_INVALID, G_TYPE_ST
RV, OUT_arg1, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "RequestAliases", error, dbus_g_type_get
_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_INVALID, G_TYPE_ST
RV, OUT_arg1, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_aliasing_request_aliases_reply) (DBusGProxy *p
roxy, char * *OUT_arg1, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_aliasing_request_aliases_reply) (DBusGProxy *p
roxy, char * *OUT_arg1, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_aliasing_request_aliases_async_callback (DBusGProxy *proxy, D
BusGProxyCall *call, void *user_data) | | tp_conn_iface_aliasing_request_aliases_async_callback (DBusGProxy *proxy, D
BusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| char ** OUT_arg1; | | char ** OUT_arg1; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg1, G_TYP
E_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg1, G_TYP
E_INVALID); | |
| (*(tp_conn_iface_aliasing_request_aliases_reply)data->cb) (proxy, OUT_arg
1, error, data->userdata); | | (*(tp_conn_iface_aliasing_request_aliases_reply)data->cb) (proxy, OUT_arg
1, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_aliasing_request_aliases_async (DBusGProxy *proxy, const GArr
ay* IN_contacts, tp_conn_iface_aliasing_request_aliases_reply callback, gpo
inter userdata) | | tp_conn_iface_aliasing_request_aliases_async (DBusGProxy *proxy, const GArr
ay* IN_contacts, tp_conn_iface_aliasing_request_aliases_reply callback, gpo
inter userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "RequestAliases", tp_conn_iface_al
iasing_request_aliases_async_callback, stuff, g_free, dbus_g_type_get_colle
ction ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "RequestAliases", tp_conn_iface_al
iasing_request_aliases_async_callback, stuff, _dbus_glib_async_data_free, d
bus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_INVA
LID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_aliasing_set_aliases (DBusGProxy *proxy, const GHashTable* IN
_aliases, GError **error) | | tp_conn_iface_aliasing_set_aliases (DBusGProxy *proxy, const GHashTable* IN
_aliases, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "SetAliases", error, dbus_g_type_get_map
("GHashTable", G_TYPE_UINT, G_TYPE_STRING), IN_aliases, G_TYPE_INVALID, G_
TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "SetAliases", error, dbus_g_type_get_map
("GHashTable", G_TYPE_UINT, G_TYPE_STRING), IN_aliases, G_TYPE_INVALID, G_
TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_aliasing_set_aliases_reply) (DBusGProxy *proxy
, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_aliasing_set_aliases_reply) (DBusGProxy *proxy
, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_aliasing_set_aliases_async_callback (DBusGProxy *proxy, DBusG
ProxyCall *call, void *user_data) | | tp_conn_iface_aliasing_set_aliases_async_callback (DBusGProxy *proxy, DBusG
ProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_conn_iface_aliasing_set_aliases_reply)data->cb) (proxy, error, data
->userdata); | | (*(tp_conn_iface_aliasing_set_aliases_reply)data->cb) (proxy, error, data
->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_aliasing_set_aliases_async (DBusGProxy *proxy, const GHashTab
le* IN_aliases, tp_conn_iface_aliasing_set_aliases_reply callback, gpointer
userdata) | | tp_conn_iface_aliasing_set_aliases_async (DBusGProxy *proxy, const GHashTab
le* IN_aliases, tp_conn_iface_aliasing_set_aliases_reply callback, gpointer
userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "SetAliases", tp_conn_iface_aliasi
ng_set_aliases_async_callback, stuff, g_free, dbus_g_type_get_map ("GHashTa
ble", G_TYPE_UINT, G_TYPE_STRING), IN_aliases, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "SetAliases", tp_conn_iface_aliasi
ng_set_aliases_async_callback, stuff, _dbus_glib_async_data_free, dbus_g_ty
pe_get_map ("GHashTable", G_TYPE_UINT, G_TYPE_STRING), IN_aliases, G_TYPE_I
NVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ction_Interface_Aliasing */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ction_Interface_Aliasing */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 11 change blocks. |
| 11 lines changed or deleted | | 23 lines changed or added | |
|
| tp-conn-iface-avatars-gen.h | | tp-conn-iface-avatars-gen.h | |
| /* Generated by dbus-binding-tool; do not edit! */ | | /* Generated by dbus-binding-tool; do not edit! */ | |
| | | | |
|
| #include <glib/gtypes.h> | | #include <glib.h> | |
| #include <glib/gerror.h> | | | |
| #include <dbus/dbus-glib.h> | | #include <dbus/dbus-glib.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| | | #ifndef _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | #define _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | void | |
| | | _dbus_glib_async_data_free (gpointer stuff) | |
| | | { | |
| | | g_slice_free (DBusGAsyncData, stuff); | |
| | | } | |
| | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Avatars | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Avatars | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Avatars | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Avatars | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_avatars_get_avatar_requirements (DBusGProxy *proxy, char ***
OUT_arg0, GError **error) | | tp_conn_iface_avatars_get_avatar_requirements (DBusGProxy *proxy, char ***
OUT_arg0, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetAvatarRequirements", error, G_TYPE_I
NVALID, G_TYPE_STRV, OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetAvatarRequirements", error, G_TYPE_I
NVALID, G_TYPE_STRV, OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_avatars_get_avatar_requirements_reply) (DBusGP
roxy *proxy, char * *OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_avatars_get_avatar_requirements_reply) (DBusGP
roxy *proxy, char * *OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_avatars_get_avatar_requirements_async_callback (DBusGProxy *p
roxy, DBusGProxyCall *call, void *user_data) | | tp_conn_iface_avatars_get_avatar_requirements_async_callback (DBusGProxy *p
roxy, DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| char ** OUT_arg0; | | char ** OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg0, G_TYP
E_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg0, G_TYP
E_INVALID); | |
| (*(tp_conn_iface_avatars_get_avatar_requirements_reply)data->cb) (proxy,
OUT_arg0, error, data->userdata); | | (*(tp_conn_iface_avatars_get_avatar_requirements_reply)data->cb) (proxy,
OUT_arg0, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_avatars_get_avatar_requirements_async (DBusGProxy *proxy, tp_
conn_iface_avatars_get_avatar_requirements_reply callback, gpointer userdat
a) | | tp_conn_iface_avatars_get_avatar_requirements_async (DBusGProxy *proxy, tp_
conn_iface_avatars_get_avatar_requirements_reply callback, gpointer userdat
a) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetAvatarRequirements", tp_conn_i
face_avatars_get_avatar_requirements_async_callback, stuff, g_free, G_TYPE_
INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetAvatarRequirements", tp_conn_i
face_avatars_get_avatar_requirements_async_callback, stuff, _dbus_glib_asyn
c_data_free, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_avatars_get_avatar_tokens (DBusGProxy *proxy, const GArray* I
N_contacts, char *** OUT_arg1, GError **error) | | tp_conn_iface_avatars_get_avatar_tokens (DBusGProxy *proxy, const GArray* I
N_contacts, char *** OUT_arg1, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetAvatarTokens", error, dbus_g_type_ge
t_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_INVALID, G_TYPE_S
TRV, OUT_arg1, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetAvatarTokens", error, dbus_g_type_ge
t_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_INVALID, G_TYPE_S
TRV, OUT_arg1, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_avatars_get_avatar_tokens_reply) (DBusGProxy *
proxy, char * *OUT_arg1, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_avatars_get_avatar_tokens_reply) (DBusGProxy *
proxy, char * *OUT_arg1, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_avatars_get_avatar_tokens_async_callback (DBusGProxy *proxy,
DBusGProxyCall *call, void *user_data) | | tp_conn_iface_avatars_get_avatar_tokens_async_callback (DBusGProxy *proxy,
DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| char ** OUT_arg1; | | char ** OUT_arg1; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg1, G_TYP
E_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg1, G_TYP
E_INVALID); | |
| (*(tp_conn_iface_avatars_get_avatar_tokens_reply)data->cb) (proxy, OUT_ar
g1, error, data->userdata); | | (*(tp_conn_iface_avatars_get_avatar_tokens_reply)data->cb) (proxy, OUT_ar
g1, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_avatars_get_avatar_tokens_async (DBusGProxy *proxy, const GAr
ray* IN_contacts, tp_conn_iface_avatars_get_avatar_tokens_reply callback, g
pointer userdata) | | tp_conn_iface_avatars_get_avatar_tokens_async (DBusGProxy *proxy, const GAr
ray* IN_contacts, tp_conn_iface_avatars_get_avatar_tokens_reply callback, g
pointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetAvatarTokens", tp_conn_iface_a
vatars_get_avatar_tokens_async_callback, stuff, g_free, dbus_g_type_get_col
lection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetAvatarTokens", tp_conn_iface_a
vatars_get_avatar_tokens_async_callback, stuff, _dbus_glib_async_data_free,
dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_IN
VALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_avatars_request_avatar (DBusGProxy *proxy, const guint IN_con
tact, GArray** OUT_arg1, GError **error) | | tp_conn_iface_avatars_request_avatar (DBusGProxy *proxy, const guint IN_con
tact, GArray** OUT_arg1, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "RequestAvatar", error, G_TYPE_UINT, IN_
contact, G_TYPE_INVALID, dbus_g_type_get_collection ("GArray", G_TYPE_UCHAR
), OUT_arg1, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "RequestAvatar", error, G_TYPE_UINT, IN_
contact, G_TYPE_INVALID, dbus_g_type_get_collection ("GArray", G_TYPE_UCHAR
), OUT_arg1, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_avatars_request_avatar_reply) (DBusGProxy *pro
xy, GArray *OUT_arg1, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_avatars_request_avatar_reply) (DBusGProxy *pro
xy, GArray *OUT_arg1, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_avatars_request_avatar_async_callback (DBusGProxy *proxy, DBu
sGProxyCall *call, void *user_data) | | tp_conn_iface_avatars_request_avatar_async_callback (DBusGProxy *proxy, DBu
sGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GArray* OUT_arg1; | | GArray* OUT_arg1; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GArray", G_TYPE_UCHAR), &OUT_arg1, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GArray", G_TYPE_UCHAR), &OUT_arg1, G_TYPE_INVALID); | |
| (*(tp_conn_iface_avatars_request_avatar_reply)data->cb) (proxy, OUT_arg1,
error, data->userdata); | | (*(tp_conn_iface_avatars_request_avatar_reply)data->cb) (proxy, OUT_arg1,
error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_avatars_request_avatar_async (DBusGProxy *proxy, const guint
IN_contact, tp_conn_iface_avatars_request_avatar_reply callback, gpointer u
serdata) | | tp_conn_iface_avatars_request_avatar_async (DBusGProxy *proxy, const guint
IN_contact, tp_conn_iface_avatars_request_avatar_reply callback, gpointer u
serdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "RequestAvatar", tp_conn_iface_ava
tars_request_avatar_async_callback, stuff, g_free, G_TYPE_UINT, IN_contact,
G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "RequestAvatar", tp_conn_iface_ava
tars_request_avatar_async_callback, stuff, _dbus_glib_async_data_free, G_TY
PE_UINT, IN_contact, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_avatars_set_avatar (DBusGProxy *proxy, const GArray* IN_avata
r, const char * IN_mime_type, char ** OUT_arg2, GError **error) | | tp_conn_iface_avatars_set_avatar (DBusGProxy *proxy, const GArray* IN_avata
r, const char * IN_mime_type, char ** OUT_arg2, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "SetAvatar", error, dbus_g_type_get_coll
ection ("GArray", G_TYPE_UCHAR), IN_avatar, G_TYPE_STRING, IN_mime_type, G_
TYPE_INVALID, G_TYPE_STRING, OUT_arg2, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "SetAvatar", error, dbus_g_type_get_coll
ection ("GArray", G_TYPE_UCHAR), IN_avatar, G_TYPE_STRING, IN_mime_type, G_
TYPE_INVALID, G_TYPE_STRING, OUT_arg2, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_avatars_set_avatar_reply) (DBusGProxy *proxy,
char * OUT_arg2, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_avatars_set_avatar_reply) (DBusGProxy *proxy,
char * OUT_arg2, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_avatars_set_avatar_async_callback (DBusGProxy *proxy, DBusGPr
oxyCall *call, void *user_data) | | tp_conn_iface_avatars_set_avatar_async_callback (DBusGProxy *proxy, DBusGPr
oxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| char * OUT_arg2; | | char * OUT_arg2; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg2, G_T
YPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg2, G_T
YPE_INVALID); | |
| (*(tp_conn_iface_avatars_set_avatar_reply)data->cb) (proxy, OUT_arg2, err
or, data->userdata); | | (*(tp_conn_iface_avatars_set_avatar_reply)data->cb) (proxy, OUT_arg2, err
or, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_avatars_set_avatar_async (DBusGProxy *proxy, const GArray* IN
_avatar, const char * IN_mime_type, tp_conn_iface_avatars_set_avatar_reply
callback, gpointer userdata) | | tp_conn_iface_avatars_set_avatar_async (DBusGProxy *proxy, const GArray* IN
_avatar, const char * IN_mime_type, tp_conn_iface_avatars_set_avatar_reply
callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "SetAvatar", tp_conn_iface_avatars
_set_avatar_async_callback, stuff, g_free, dbus_g_type_get_collection ("GAr
ray", G_TYPE_UCHAR), IN_avatar, G_TYPE_STRING, IN_mime_type, G_TYPE_INVALID
); | | return dbus_g_proxy_begin_call (proxy, "SetAvatar", tp_conn_iface_avatars
_set_avatar_async_callback, stuff, _dbus_glib_async_data_free, dbus_g_type_
get_collection ("GArray", G_TYPE_UCHAR), IN_avatar, G_TYPE_STRING, IN_mime_
type, G_TYPE_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ction_Interface_Avatars */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ction_Interface_Avatars */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 14 change blocks. |
| 14 lines changed or deleted | | 26 lines changed or added | |
|
| tp-conn-iface-capabilities-gen.h | | tp-conn-iface-capabilities-gen.h | |
| /* Generated by dbus-binding-tool; do not edit! */ | | /* Generated by dbus-binding-tool; do not edit! */ | |
| | | | |
|
| #include <glib/gtypes.h> | | #include <glib.h> | |
| #include <glib/gerror.h> | | | |
| #include <dbus/dbus-glib.h> | | #include <dbus/dbus-glib.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| | | #ifndef _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | #define _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | void | |
| | | _dbus_glib_async_data_free (gpointer stuff) | |
| | | { | |
| | | g_slice_free (DBusGAsyncData, stuff); | |
| | | } | |
| | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Capabilities | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Capabilities | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Capabilities | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Capabilities | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_capabilities_advertise_capabilities (DBusGProxy *proxy, const
GPtrArray* IN_add, const char ** IN_remove, GPtrArray** OUT_arg2, GError *
*error) | | tp_conn_iface_capabilities_advertise_capabilities (DBusGProxy *proxy, const
GPtrArray* IN_add, const char ** IN_remove, GPtrArray** OUT_arg2, GError *
*error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "AdvertiseCapabilities", error, dbus_g_t
ype_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_T
YPE_STRING, G_TYPE_UINT, G_TYPE_INVALID)), IN_add, G_TYPE_STRV, IN_remove,
G_TYPE_INVALID, dbus_g_type_get_collection ("GPtrArray", dbus_g_type_get_st
ruct ("GValueArray", G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INVALID)), OUT_arg2
, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "AdvertiseCapabilities", error, dbus_g_t
ype_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_T
YPE_STRING, G_TYPE_UINT, G_TYPE_INVALID)), IN_add, G_TYPE_STRV, IN_remove,
G_TYPE_INVALID, dbus_g_type_get_collection ("GPtrArray", dbus_g_type_get_st
ruct ("GValueArray", G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INVALID)), OUT_arg2
, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_capabilities_advertise_capabilities_reply) (DB
usGProxy *proxy, GPtrArray *OUT_arg2, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_capabilities_advertise_capabilities_reply) (DB
usGProxy *proxy, GPtrArray *OUT_arg2, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_capabilities_advertise_capabilities_async_callback (DBusGProx
y *proxy, DBusGProxyCall *call, void *user_data) | | tp_conn_iface_capabilities_advertise_capabilities_async_callback (DBusGProx
y *proxy, DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GPtrArray* OUT_arg2; | | GPtrArray* OUT_arg2; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_STRING, G_TYPE_UI
NT, G_TYPE_INVALID)), &OUT_arg2, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_STRING, G_TYPE_UI
NT, G_TYPE_INVALID)), &OUT_arg2, G_TYPE_INVALID); | |
| (*(tp_conn_iface_capabilities_advertise_capabilities_reply)data->cb) (pro
xy, OUT_arg2, error, data->userdata); | | (*(tp_conn_iface_capabilities_advertise_capabilities_reply)data->cb) (pro
xy, OUT_arg2, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_capabilities_advertise_capabilities_async (DBusGProxy *proxy,
const GPtrArray* IN_add, const char ** IN_remove, tp_conn_iface_capabiliti
es_advertise_capabilities_reply callback, gpointer userdata) | | tp_conn_iface_capabilities_advertise_capabilities_async (DBusGProxy *proxy,
const GPtrArray* IN_add, const char ** IN_remove, tp_conn_iface_capabiliti
es_advertise_capabilities_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "AdvertiseCapabilities", tp_conn_i
face_capabilities_advertise_capabilities_async_callback, stuff, g_free, dbu
s_g_type_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray"
, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INVALID)), IN_add, G_TYPE_STRV, IN_rem
ove, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "AdvertiseCapabilities", tp_conn_i
face_capabilities_advertise_capabilities_async_callback, stuff, _dbus_glib_
async_data_free, dbus_g_type_get_collection ("GPtrArray", dbus_g_type_get_s
truct ("GValueArray", G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INVALID)), IN_add,
G_TYPE_STRV, IN_remove, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_capabilities_get_capabilities (DBusGProxy *proxy, const GArra
y* IN_handles, GPtrArray** OUT_arg1, GError **error) | | tp_conn_iface_capabilities_get_capabilities (DBusGProxy *proxy, const GArra
y* IN_handles, GPtrArray** OUT_arg1, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetCapabilities", error, dbus_g_type_ge
t_collection ("GArray", G_TYPE_UINT), IN_handles, G_TYPE_INVALID, dbus_g_ty
pe_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TY
PE_UINT, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), OUT_arg
1, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetCapabilities", error, dbus_g_type_ge
t_collection ("GArray", G_TYPE_UINT), IN_handles, G_TYPE_INVALID, dbus_g_ty
pe_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TY
PE_UINT, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), OUT_arg
1, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_capabilities_get_capabilities_reply) (DBusGPro
xy *proxy, GPtrArray *OUT_arg1, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_capabilities_get_capabilities_reply) (DBusGPro
xy *proxy, GPtrArray *OUT_arg1, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_capabilities_get_capabilities_async_callback (DBusGProxy *pro
xy, DBusGProxyCall *call, void *user_data) | | tp_conn_iface_capabilities_get_capabilities_async_callback (DBusGProxy *pro
xy, DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GPtrArray* OUT_arg1; | | GPtrArray* OUT_arg1; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRI
NG, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), &OUT_arg1, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRI
NG, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), &OUT_arg1, G_TYPE_INVALID); | |
| (*(tp_conn_iface_capabilities_get_capabilities_reply)data->cb) (proxy, OU
T_arg1, error, data->userdata); | | (*(tp_conn_iface_capabilities_get_capabilities_reply)data->cb) (proxy, OU
T_arg1, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_capabilities_get_capabilities_async (DBusGProxy *proxy, const
GArray* IN_handles, tp_conn_iface_capabilities_get_capabilities_reply call
back, gpointer userdata) | | tp_conn_iface_capabilities_get_capabilities_async (DBusGProxy *proxy, const
GArray* IN_handles, tp_conn_iface_capabilities_get_capabilities_reply call
back, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetCapabilities", tp_conn_iface_c
apabilities_get_capabilities_async_callback, stuff, g_free, dbus_g_type_get
_collection ("GArray", G_TYPE_UINT), IN_handles, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetCapabilities", tp_conn_iface_c
apabilities_get_capabilities_async_callback, stuff, _dbus_glib_async_data_f
ree, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handles, G_TYPE
_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ction_Interface_Capabilities */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ction_Interface_Capabilities */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 8 change blocks. |
| 8 lines changed or deleted | | 20 lines changed or added | |
|
| tp-conn-iface-presence-gen.h | | tp-conn-iface-presence-gen.h | |
| /* Generated by dbus-binding-tool; do not edit! */ | | /* Generated by dbus-binding-tool; do not edit! */ | |
| | | | |
|
| #include <glib/gtypes.h> | | #include <glib.h> | |
| #include <glib/gerror.h> | | | |
| #include <dbus/dbus-glib.h> | | #include <dbus/dbus-glib.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| | | #ifndef _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | #define _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | void | |
| | | _dbus_glib_async_data_free (gpointer stuff) | |
| | | { | |
| | | g_slice_free (DBusGAsyncData, stuff); | |
| | | } | |
| | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Presence | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Presence | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Presence | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Presence | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_presence_add_status (DBusGProxy *proxy, const char * IN_statu
s, const GHashTable* IN_parms, GError **error) | | tp_conn_iface_presence_add_status (DBusGProxy *proxy, const char * IN_statu
s, const GHashTable* IN_parms, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "AddStatus", error, G_TYPE_STRING, IN_st
atus, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE), IN_p
arms, G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "AddStatus", error, G_TYPE_STRING, IN_st
atus, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE), IN_p
arms, G_TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_presence_add_status_reply) (DBusGProxy *proxy,
GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_presence_add_status_reply) (DBusGProxy *proxy,
GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_presence_add_status_async_callback (DBusGProxy *proxy, DBusGP
roxyCall *call, void *user_data) | | tp_conn_iface_presence_add_status_async_callback (DBusGProxy *proxy, DBusGP
roxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_conn_iface_presence_add_status_reply)data->cb) (proxy, error, data-
>userdata); | | (*(tp_conn_iface_presence_add_status_reply)data->cb) (proxy, error, data-
>userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_presence_add_status_async (DBusGProxy *proxy, const char * IN
_status, const GHashTable* IN_parms, tp_conn_iface_presence_add_status_repl
y callback, gpointer userdata) | | tp_conn_iface_presence_add_status_async (DBusGProxy *proxy, const char * IN
_status, const GHashTable* IN_parms, tp_conn_iface_presence_add_status_repl
y callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "AddStatus", tp_conn_iface_presenc
e_add_status_async_callback, stuff, g_free, G_TYPE_STRING, IN_status, dbus_
g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE), IN_parms, G_TYP
E_INVALID); | | return dbus_g_proxy_begin_call (proxy, "AddStatus", tp_conn_iface_presenc
e_add_status_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_STRI
NG, IN_status, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VAL
UE), IN_parms, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_presence_clear_status (DBusGProxy *proxy, GError **error) | | tp_conn_iface_presence_clear_status (DBusGProxy *proxy, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "ClearStatus", error, G_TYPE_INVALID, G_
TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "ClearStatus", error, G_TYPE_INVALID, G_
TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_presence_clear_status_reply) (DBusGProxy *prox
y, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_presence_clear_status_reply) (DBusGProxy *prox
y, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_presence_clear_status_async_callback (DBusGProxy *proxy, DBus
GProxyCall *call, void *user_data) | | tp_conn_iface_presence_clear_status_async_callback (DBusGProxy *proxy, DBus
GProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_conn_iface_presence_clear_status_reply)data->cb) (proxy, error, dat
a->userdata); | | (*(tp_conn_iface_presence_clear_status_reply)data->cb) (proxy, error, dat
a->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_presence_clear_status_async (DBusGProxy *proxy, tp_conn_iface
_presence_clear_status_reply callback, gpointer userdata) | | tp_conn_iface_presence_clear_status_async (DBusGProxy *proxy, tp_conn_iface
_presence_clear_status_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "ClearStatus", tp_conn_iface_prese | | return dbus_g_proxy_begin_call (proxy, "ClearStatus", tp_conn_iface_prese | |
| nce_clear_status_async_callback, stuff, g_free, G_TYPE_INVALID); | | nce_clear_status_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_ | |
| | | INVALID); | |
| | | } | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | gboolean | |
| | | tp_conn_iface_presence_get_presence (DBusGProxy *proxy, const GArray* IN_co | |
| | | ntacts, GHashTable** OUT_arg1, GError **error) | |
| | | | |
| | | { | |
| | | return dbus_g_proxy_call (proxy, "GetPresence", error, dbus_g_type_get_co | |
| | | llection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_INVALID, dbus_g_type_ | |
| | | get_map ("GHashTable", G_TYPE_UINT, dbus_g_type_get_struct ("GValueArray", | |
| | | G_TYPE_UINT, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, dbus_g_type_ | |
| | | get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE)), G_TYPE_INVALID)), OUT | |
| | | _arg1, G_TYPE_INVALID); | |
| | | } | |
| | | | |
| | | typedef void (*tp_conn_iface_presence_get_presence_reply) (DBusGProxy *prox | |
| | | y, GHashTable *OUT_arg1, GError *error, gpointer userdata); | |
| | | | |
| | | static void | |
| | | tp_conn_iface_presence_get_presence_async_callback (DBusGProxy *proxy, DBus | |
| | | GProxyCall *call, void *user_data) | |
| | | { | |
| | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| | | GError *error = NULL; | |
| | | GHashTable* OUT_arg1; | |
| | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_map ("GHashTa | |
| | | ble", G_TYPE_UINT, dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, dbus | |
| | | _g_type_get_map ("GHashTable", G_TYPE_STRING, dbus_g_type_get_map ("GHashTa | |
| | | ble", G_TYPE_STRING, G_TYPE_VALUE)), G_TYPE_INVALID)), &OUT_arg1, G_TYPE_IN | |
| | | VALID); | |
| | | (*(tp_conn_iface_presence_get_presence_reply)data->cb) (proxy, OUT_arg1, | |
| | | error, data->userdata); | |
| | | return; | |
| | | } | |
| | | | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | DBusGProxyCall* | |
| | | tp_conn_iface_presence_get_presence_async (DBusGProxy *proxy, const GArray* | |
| | | IN_contacts, tp_conn_iface_presence_get_presence_reply callback, gpointer | |
| | | userdata) | |
| | | | |
| | | { | |
| | | DBusGAsyncData *stuff; | |
| | | stuff = g_slice_new (DBusGAsyncData); | |
| | | stuff->cb = G_CALLBACK (callback); | |
| | | stuff->userdata = userdata; | |
| | | return dbus_g_proxy_begin_call (proxy, "GetPresence", tp_conn_iface_prese | |
| | | nce_get_presence_async_callback, stuff, _dbus_glib_async_data_free, dbus_g_ | |
| | | type_get_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_presence_get_statuses (DBusGProxy *proxy, GHashTable** OUT_ar
g0, GError **error) | | tp_conn_iface_presence_get_statuses (DBusGProxy *proxy, GHashTable** OUT_ar
g0, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetStatuses", error, G_TYPE_INVALID, db
us_g_type_get_map ("GHashTable", G_TYPE_STRING, dbus_g_type_get_struct ("GV
alueArray", G_TYPE_UINT, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, dbus_g_type_get_ma
p ("GHashTable", G_TYPE_STRING, G_TYPE_STRING), G_TYPE_INVALID)), OUT_arg0,
G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetStatuses", error, G_TYPE_INVALID, db
us_g_type_get_map ("GHashTable", G_TYPE_STRING, dbus_g_type_get_struct ("GV
alueArray", G_TYPE_UINT, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, dbus_g_type_get_ma
p ("GHashTable", G_TYPE_STRING, G_TYPE_STRING), G_TYPE_INVALID)), OUT_arg0,
G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_presence_get_statuses_reply) (DBusGProxy *prox
y, GHashTable *OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_presence_get_statuses_reply) (DBusGProxy *prox
y, GHashTable *OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_presence_get_statuses_async_callback (DBusGProxy *proxy, DBus
GProxyCall *call, void *user_data) | | tp_conn_iface_presence_get_statuses_async_callback (DBusGProxy *proxy, DBus
GProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GHashTable* OUT_arg0; | | GHashTable* OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_map ("GHashTa
ble", G_TYPE_STRING, dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_
TYPE_BOOLEAN, G_TYPE_BOOLEAN, dbus_g_type_get_map ("GHashTable", G_TYPE_STR
ING, G_TYPE_STRING), G_TYPE_INVALID)), &OUT_arg0, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_map ("GHashTa
ble", G_TYPE_STRING, dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_
TYPE_BOOLEAN, G_TYPE_BOOLEAN, dbus_g_type_get_map ("GHashTable", G_TYPE_STR
ING, G_TYPE_STRING), G_TYPE_INVALID)), &OUT_arg0, G_TYPE_INVALID); | |
| (*(tp_conn_iface_presence_get_statuses_reply)data->cb) (proxy, OUT_arg0,
error, data->userdata); | | (*(tp_conn_iface_presence_get_statuses_reply)data->cb) (proxy, OUT_arg0,
error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_presence_get_statuses_async (DBusGProxy *proxy, tp_conn_iface
_presence_get_statuses_reply callback, gpointer userdata) | | tp_conn_iface_presence_get_statuses_async (DBusGProxy *proxy, tp_conn_iface
_presence_get_statuses_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetStatuses", tp_conn_iface_prese
nce_get_statuses_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetStatuses", tp_conn_iface_prese
nce_get_statuses_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_
INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_presence_remove_status (DBusGProxy *proxy, const char * IN_st
atus, GError **error) | | tp_conn_iface_presence_remove_status (DBusGProxy *proxy, const char * IN_st
atus, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "RemoveStatus", error, G_TYPE_STRING, IN
_status, G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "RemoveStatus", error, G_TYPE_STRING, IN
_status, G_TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_presence_remove_status_reply) (DBusGProxy *pro
xy, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_presence_remove_status_reply) (DBusGProxy *pro
xy, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_presence_remove_status_async_callback (DBusGProxy *proxy, DBu
sGProxyCall *call, void *user_data) | | tp_conn_iface_presence_remove_status_async_callback (DBusGProxy *proxy, DBu
sGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_conn_iface_presence_remove_status_reply)data->cb) (proxy, error, da
ta->userdata); | | (*(tp_conn_iface_presence_remove_status_reply)data->cb) (proxy, error, da
ta->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_presence_remove_status_async (DBusGProxy *proxy, const char *
IN_status, tp_conn_iface_presence_remove_status_reply callback, gpointer u
serdata) | | tp_conn_iface_presence_remove_status_async (DBusGProxy *proxy, const char *
IN_status, tp_conn_iface_presence_remove_status_reply callback, gpointer u
serdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "RemoveStatus", tp_conn_iface_pres
ence_remove_status_async_callback, stuff, g_free, G_TYPE_STRING, IN_status,
G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "RemoveStatus", tp_conn_iface_pres
ence_remove_status_async_callback, stuff, _dbus_glib_async_data_free, G_TYP
E_STRING, IN_status, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_presence_request_presence (DBusGProxy *proxy, const GArray* I
N_contacts, GError **error) | | tp_conn_iface_presence_request_presence (DBusGProxy *proxy, const GArray* I
N_contacts, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "RequestPresence", error, dbus_g_type_ge
t_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_INVALID, G_TYPE_I
NVALID); | | return dbus_g_proxy_call (proxy, "RequestPresence", error, dbus_g_type_ge
t_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_INVALID, G_TYPE_I
NVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_presence_request_presence_reply) (DBusGProxy *
proxy, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_presence_request_presence_reply) (DBusGProxy *
proxy, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_presence_request_presence_async_callback (DBusGProxy *proxy,
DBusGProxyCall *call, void *user_data) | | tp_conn_iface_presence_request_presence_async_callback (DBusGProxy *proxy,
DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_conn_iface_presence_request_presence_reply)data->cb) (proxy, error,
data->userdata); | | (*(tp_conn_iface_presence_request_presence_reply)data->cb) (proxy, error,
data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_presence_request_presence_async (DBusGProxy *proxy, const GAr
ray* IN_contacts, tp_conn_iface_presence_request_presence_reply callback, g
pointer userdata) | | tp_conn_iface_presence_request_presence_async (DBusGProxy *proxy, const GAr
ray* IN_contacts, tp_conn_iface_presence_request_presence_reply callback, g
pointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "RequestPresence", tp_conn_iface_p
resence_request_presence_async_callback, stuff, g_free, dbus_g_type_get_col
lection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "RequestPresence", tp_conn_iface_p
resence_request_presence_async_callback, stuff, _dbus_glib_async_data_free,
dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_IN
VALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_presence_set_last_activity_time (DBusGProxy *proxy, const gui
nt IN_time, GError **error) | | tp_conn_iface_presence_set_last_activity_time (DBusGProxy *proxy, const gui
nt IN_time, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "SetLastActivityTime", error, G_TYPE_UIN
T, IN_time, G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "SetLastActivityTime", error, G_TYPE_UIN
T, IN_time, G_TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_presence_set_last_activity_time_reply) (DBusGP
roxy *proxy, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_presence_set_last_activity_time_reply) (DBusGP
roxy *proxy, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_presence_set_last_activity_time_async_callback (DBusGProxy *p
roxy, DBusGProxyCall *call, void *user_data) | | tp_conn_iface_presence_set_last_activity_time_async_callback (DBusGProxy *p
roxy, DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_conn_iface_presence_set_last_activity_time_reply)data->cb) (proxy,
error, data->userdata); | | (*(tp_conn_iface_presence_set_last_activity_time_reply)data->cb) (proxy,
error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_presence_set_last_activity_time_async (DBusGProxy *proxy, con
st guint IN_time, tp_conn_iface_presence_set_last_activity_time_reply callb
ack, gpointer userdata) | | tp_conn_iface_presence_set_last_activity_time_async (DBusGProxy *proxy, con
st guint IN_time, tp_conn_iface_presence_set_last_activity_time_reply callb
ack, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "SetLastActivityTime", tp_conn_ifa
ce_presence_set_last_activity_time_async_callback, stuff, g_free, G_TYPE_UI
NT, IN_time, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "SetLastActivityTime", tp_conn_ifa
ce_presence_set_last_activity_time_async_callback, stuff, _dbus_glib_async_
data_free, G_TYPE_UINT, IN_time, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_presence_set_status (DBusGProxy *proxy, const GHashTable* IN_
statuses, GError **error) | | tp_conn_iface_presence_set_status (DBusGProxy *proxy, const GHashTable* IN_
statuses, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "SetStatus", error, dbus_g_type_get_map
("GHashTable", G_TYPE_STRING, dbus_g_type_get_map ("GHashTable", G_TYPE_STR
ING, G_TYPE_VALUE)), IN_statuses, G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "SetStatus", error, dbus_g_type_get_map
("GHashTable", G_TYPE_STRING, dbus_g_type_get_map ("GHashTable", G_TYPE_STR
ING, G_TYPE_VALUE)), IN_statuses, G_TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_presence_set_status_reply) (DBusGProxy *proxy,
GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_presence_set_status_reply) (DBusGProxy *proxy,
GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_presence_set_status_async_callback (DBusGProxy *proxy, DBusGP
roxyCall *call, void *user_data) | | tp_conn_iface_presence_set_status_async_callback (DBusGProxy *proxy, DBusGP
roxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_conn_iface_presence_set_status_reply)data->cb) (proxy, error, data-
>userdata); | | (*(tp_conn_iface_presence_set_status_reply)data->cb) (proxy, error, data-
>userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_presence_set_status_async (DBusGProxy *proxy, const GHashTabl
e* IN_statuses, tp_conn_iface_presence_set_status_reply callback, gpointer
userdata) | | tp_conn_iface_presence_set_status_async (DBusGProxy *proxy, const GHashTabl
e* IN_statuses, tp_conn_iface_presence_set_status_reply callback, gpointer
userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "SetStatus", tp_conn_iface_presenc
e_set_status_async_callback, stuff, g_free, dbus_g_type_get_map ("GHashTabl
e", G_TYPE_STRING, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE
_VALUE)), IN_statuses, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "SetStatus", tp_conn_iface_presenc
e_set_status_async_callback, stuff, _dbus_glib_async_data_free, dbus_g_type
_get_map ("GHashTable", G_TYPE_STRING, dbus_g_type_get_map ("GHashTable", G
_TYPE_STRING, G_TYPE_VALUE)), IN_statuses, G_TYPE_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ction_Interface_Presence */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ction_Interface_Presence */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 23 change blocks. |
| 24 lines changed or deleted | | 92 lines changed or added | |
|
| tp-conn-iface-privacy-gen.h | | tp-conn-iface-privacy-gen.h | |
| /* Generated by dbus-binding-tool; do not edit! */ | | /* Generated by dbus-binding-tool; do not edit! */ | |
| | | | |
|
| #include <glib/gtypes.h> | | #include <glib.h> | |
| #include <glib/gerror.h> | | | |
| #include <dbus/dbus-glib.h> | | #include <dbus/dbus-glib.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| | | #ifndef _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | #define _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | void | |
| | | _dbus_glib_async_data_free (gpointer stuff) | |
| | | { | |
| | | g_slice_free (DBusGAsyncData, stuff); | |
| | | } | |
| | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Privacy | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Privacy | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Privacy | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Inte
rface_Privacy | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_privacy_get_privacy_mode (DBusGProxy *proxy, char ** OUT_arg0
, GError **error) | | tp_conn_iface_privacy_get_privacy_mode (DBusGProxy *proxy, char ** OUT_arg0
, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetPrivacyMode", error, G_TYPE_INVALID,
G_TYPE_STRING, OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetPrivacyMode", error, G_TYPE_INVALID,
G_TYPE_STRING, OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_privacy_get_privacy_mode_reply) (DBusGProxy *p
roxy, char * OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_privacy_get_privacy_mode_reply) (DBusGProxy *p
roxy, char * OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_privacy_get_privacy_mode_async_callback (DBusGProxy *proxy, D
BusGProxyCall *call, void *user_data) | | tp_conn_iface_privacy_get_privacy_mode_async_callback (DBusGProxy *proxy, D
BusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| char * OUT_arg0; | | char * OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg0, G_T
YPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg0, G_T
YPE_INVALID); | |
| (*(tp_conn_iface_privacy_get_privacy_mode_reply)data->cb) (proxy, OUT_arg
0, error, data->userdata); | | (*(tp_conn_iface_privacy_get_privacy_mode_reply)data->cb) (proxy, OUT_arg
0, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_privacy_get_privacy_mode_async (DBusGProxy *proxy, tp_conn_if
ace_privacy_get_privacy_mode_reply callback, gpointer userdata) | | tp_conn_iface_privacy_get_privacy_mode_async (DBusGProxy *proxy, tp_conn_if
ace_privacy_get_privacy_mode_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetPrivacyMode", tp_conn_iface_pr
ivacy_get_privacy_mode_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetPrivacyMode", tp_conn_iface_pr
ivacy_get_privacy_mode_async_callback, stuff, _dbus_glib_async_data_free, G
_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_privacy_get_privacy_modes (DBusGProxy *proxy, char *** OUT_ar
g0, GError **error) | | tp_conn_iface_privacy_get_privacy_modes (DBusGProxy *proxy, char *** OUT_ar
g0, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetPrivacyModes", error, G_TYPE_INVALID
, G_TYPE_STRV, OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetPrivacyModes", error, G_TYPE_INVALID
, G_TYPE_STRV, OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_privacy_get_privacy_modes_reply) (DBusGProxy *
proxy, char * *OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_privacy_get_privacy_modes_reply) (DBusGProxy *
proxy, char * *OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_privacy_get_privacy_modes_async_callback (DBusGProxy *proxy,
DBusGProxyCall *call, void *user_data) | | tp_conn_iface_privacy_get_privacy_modes_async_callback (DBusGProxy *proxy,
DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| char ** OUT_arg0; | | char ** OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg0, G_TYP
E_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg0, G_TYP
E_INVALID); | |
| (*(tp_conn_iface_privacy_get_privacy_modes_reply)data->cb) (proxy, OUT_ar
g0, error, data->userdata); | | (*(tp_conn_iface_privacy_get_privacy_modes_reply)data->cb) (proxy, OUT_ar
g0, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_privacy_get_privacy_modes_async (DBusGProxy *proxy, tp_conn_i
face_privacy_get_privacy_modes_reply callback, gpointer userdata) | | tp_conn_iface_privacy_get_privacy_modes_async (DBusGProxy *proxy, tp_conn_i
face_privacy_get_privacy_modes_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetPrivacyModes", tp_conn_iface_p
rivacy_get_privacy_modes_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetPrivacyModes", tp_conn_iface_p
rivacy_get_privacy_modes_async_callback, stuff, _dbus_glib_async_data_free,
G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_iface_privacy_set_privacy_mode (DBusGProxy *proxy, const char * IN_
mode, GError **error) | | tp_conn_iface_privacy_set_privacy_mode (DBusGProxy *proxy, const char * IN_
mode, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "SetPrivacyMode", error, G_TYPE_STRING,
IN_mode, G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "SetPrivacyMode", error, G_TYPE_STRING,
IN_mode, G_TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_iface_privacy_set_privacy_mode_reply) (DBusGProxy *p
roxy, GError *error, gpointer userdata); | | typedef void (*tp_conn_iface_privacy_set_privacy_mode_reply) (DBusGProxy *p
roxy, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_iface_privacy_set_privacy_mode_async_callback (DBusGProxy *proxy, D
BusGProxyCall *call, void *user_data) | | tp_conn_iface_privacy_set_privacy_mode_async_callback (DBusGProxy *proxy, D
BusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_conn_iface_privacy_set_privacy_mode_reply)data->cb) (proxy, error,
data->userdata); | | (*(tp_conn_iface_privacy_set_privacy_mode_reply)data->cb) (proxy, error,
data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_conn_iface_privacy_set_privacy_mode_async (DBusGProxy *proxy, const char
* IN_mode, tp_conn_iface_privacy_set_privacy_mode_reply callback, gpointer
userdata) | | tp_conn_iface_privacy_set_privacy_mode_async (DBusGProxy *proxy, const char
* IN_mode, tp_conn_iface_privacy_set_privacy_mode_reply callback, gpointer
userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "SetPrivacyMode", tp_conn_iface_pr
ivacy_set_privacy_mode_async_callback, stuff, g_free, G_TYPE_STRING, IN_mod
e, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "SetPrivacyMode", tp_conn_iface_pr
ivacy_set_privacy_mode_async_callback, stuff, _dbus_glib_async_data_free, G
_TYPE_STRING, IN_mode, G_TYPE_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ction_Interface_Privacy */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ction_Interface_Privacy */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 11 change blocks. |
| 11 lines changed or deleted | | 23 lines changed or added | |
|
| tp-connmgr-gen.h | | tp-connmgr-gen.h | |
| /* Generated by dbus-binding-tool; do not edit! */ | | /* Generated by dbus-binding-tool; do not edit! */ | |
| | | | |
|
| #include <glib/gtypes.h> | | #include <glib.h> | |
| #include <glib/gerror.h> | | | |
| #include <dbus/dbus-glib.h> | | #include <dbus/dbus-glib.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| | | #ifndef _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | #define _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | void | |
| | | _dbus_glib_async_data_free (gpointer stuff) | |
| | | { | |
| | | g_slice_free (DBusGAsyncData, stuff); | |
| | | } | |
| | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_ConnectionManag
er | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_ConnectionManag
er | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_ConnectionManag
er | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_ConnectionManag
er | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_connmgr_get_parameters (DBusGProxy *proxy, const char * IN_proto, GPtrAr
ray** OUT_arg1, GError **error) | | tp_connmgr_get_parameters (DBusGProxy *proxy, const char * IN_proto, GPtrAr
ray** OUT_arg1, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetParameters", error, G_TYPE_STRING, I
N_proto, G_TYPE_INVALID, dbus_g_type_get_collection ("GPtrArray", dbus_g_ty
pe_get_struct ("GValueArray", G_TYPE_STRING, G_TYPE_UINT, G_TYPE_STRING, G_
TYPE_VALUE, G_TYPE_INVALID)), OUT_arg1, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetParameters", error, G_TYPE_STRING, I
N_proto, G_TYPE_INVALID, dbus_g_type_get_collection ("GPtrArray", dbus_g_ty
pe_get_struct ("GValueArray", G_TYPE_STRING, G_TYPE_UINT, G_TYPE_STRING, G_
TYPE_VALUE, G_TYPE_INVALID)), OUT_arg1, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_connmgr_get_parameters_reply) (DBusGProxy *proxy, GPtrArr
ay *OUT_arg1, GError *error, gpointer userdata); | | typedef void (*tp_connmgr_get_parameters_reply) (DBusGProxy *proxy, GPtrArr
ay *OUT_arg1, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_connmgr_get_parameters_async_callback (DBusGProxy *proxy, DBusGProxyCall
*call, void *user_data) | | tp_connmgr_get_parameters_async_callback (DBusGProxy *proxy, DBusGProxyCall
*call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GPtrArray* OUT_arg1; | | GPtrArray* OUT_arg1; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_STRING, G_TYPE_UI
NT, G_TYPE_STRING, G_TYPE_VALUE, G_TYPE_INVALID)), &OUT_arg1, G_TYPE_INVALI
D); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_STRING, G_TYPE_UI
NT, G_TYPE_STRING, G_TYPE_VALUE, G_TYPE_INVALID)), &OUT_arg1, G_TYPE_INVALI
D); | |
| (*(tp_connmgr_get_parameters_reply)data->cb) (proxy, OUT_arg1, error, dat
a->userdata); | | (*(tp_connmgr_get_parameters_reply)data->cb) (proxy, OUT_arg1, error, dat
a->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_connmgr_get_parameters_async (DBusGProxy *proxy, const char * IN_proto,
tp_connmgr_get_parameters_reply callback, gpointer userdata) | | tp_connmgr_get_parameters_async (DBusGProxy *proxy, const char * IN_proto,
tp_connmgr_get_parameters_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetParameters", tp_connmgr_get_pa
rameters_async_callback, stuff, g_free, G_TYPE_STRING, IN_proto, G_TYPE_INV
ALID); | | return dbus_g_proxy_begin_call (proxy, "GetParameters", tp_connmgr_get_pa
rameters_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_STRING,
IN_proto, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_connmgr_list_protocols (DBusGProxy *proxy, char *** OUT_arg0, GError **e
rror) | | tp_connmgr_list_protocols (DBusGProxy *proxy, char *** OUT_arg0, GError **e
rror) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "ListProtocols", error, G_TYPE_INVALID,
G_TYPE_STRV, OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "ListProtocols", error, G_TYPE_INVALID,
G_TYPE_STRV, OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_connmgr_list_protocols_reply) (DBusGProxy *proxy, char *
*OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_connmgr_list_protocols_reply) (DBusGProxy *proxy, char *
*OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_connmgr_list_protocols_async_callback (DBusGProxy *proxy, DBusGProxyCall
*call, void *user_data) | | tp_connmgr_list_protocols_async_callback (DBusGProxy *proxy, DBusGProxyCall
*call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| char ** OUT_arg0; | | char ** OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg0, G_TYP
E_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg0, G_TYP
E_INVALID); | |
| (*(tp_connmgr_list_protocols_reply)data->cb) (proxy, OUT_arg0, error, dat
a->userdata); | | (*(tp_connmgr_list_protocols_reply)data->cb) (proxy, OUT_arg0, error, dat
a->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_connmgr_list_protocols_async (DBusGProxy *proxy, tp_connmgr_list_protoco
ls_reply callback, gpointer userdata) | | tp_connmgr_list_protocols_async (DBusGProxy *proxy, tp_connmgr_list_protoco
ls_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "ListProtocols", tp_connmgr_list_p
rotocols_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "ListProtocols", tp_connmgr_list_p
rotocols_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID)
; | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_connmgr_request_connection (DBusGProxy *proxy, const char * IN_proto, co
nst GHashTable* IN_parameters, char ** OUT_arg2, char** OUT_arg3, GError **
error) | | tp_connmgr_request_connection (DBusGProxy *proxy, const char * IN_proto, co
nst GHashTable* IN_parameters, char ** OUT_arg2, char** OUT_arg3, GError **
error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "RequestConnection", error, G_TYPE_STRIN
G, IN_proto, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE
), IN_parameters, G_TYPE_INVALID, G_TYPE_STRING, OUT_arg2, DBUS_TYPE_G_OBJE
CT_PATH, OUT_arg3, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "RequestConnection", error, G_TYPE_STRIN
G, IN_proto, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE
), IN_parameters, G_TYPE_INVALID, G_TYPE_STRING, OUT_arg2, DBUS_TYPE_G_OBJE
CT_PATH, OUT_arg3, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_connmgr_request_connection_reply) (DBusGProxy *proxy, cha
r * OUT_arg2, char *OUT_arg3, GError *error, gpointer userdata); | | typedef void (*tp_connmgr_request_connection_reply) (DBusGProxy *proxy, cha
r * OUT_arg2, char *OUT_arg3, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_connmgr_request_connection_async_callback (DBusGProxy *proxy, DBusGProxy
Call *call, void *user_data) | | tp_connmgr_request_connection_async_callback (DBusGProxy *proxy, DBusGProxy
Call *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| char * OUT_arg2; | | char * OUT_arg2; | |
| char* OUT_arg3; | | char* OUT_arg3; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg2, DBU
S_TYPE_G_OBJECT_PATH, &OUT_arg3, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg2, DBU
S_TYPE_G_OBJECT_PATH, &OUT_arg3, G_TYPE_INVALID); | |
| (*(tp_connmgr_request_connection_reply)data->cb) (proxy, OUT_arg2, OUT_ar
g3, error, data->userdata); | | (*(tp_connmgr_request_connection_reply)data->cb) (proxy, OUT_arg2, OUT_ar
g3, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_connmgr_request_connection_async (DBusGProxy *proxy, const char * IN_pro
to, const GHashTable* IN_parameters, tp_connmgr_request_connection_reply ca
llback, gpointer userdata) | | tp_connmgr_request_connection_async (DBusGProxy *proxy, const char * IN_pro
to, const GHashTable* IN_parameters, tp_connmgr_request_connection_reply ca
llback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "RequestConnection", tp_connmgr_re
quest_connection_async_callback, stuff, g_free, G_TYPE_STRING, IN_proto, db
us_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE), IN_parameter
s, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "RequestConnection", tp_connmgr_re
quest_connection_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_
STRING, IN_proto, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_
VALUE), IN_parameters, G_TYPE_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ctionManager */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ctionManager */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 11 change blocks. |
| 11 lines changed or deleted | | 23 lines changed or added | |
|
| tp-media-stream-handler-gen.h | | tp-media-stream-handler-gen.h | |
| /* Generated by dbus-binding-tool; do not edit! */ | | /* Generated by dbus-binding-tool; do not edit! */ | |
| | | | |
|
| #include <glib/gtypes.h> | | #include <glib.h> | |
| #include <glib/gerror.h> | | | |
| #include <dbus/dbus-glib.h> | | #include <dbus/dbus-glib.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| | | #ifndef _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | #define _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | void | |
| | | _dbus_glib_async_data_free (gpointer stuff) | |
| | | { | |
| | | g_slice_free (DBusGAsyncData, stuff); | |
| | | } | |
| | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Media_StreamHan
dler | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Media_StreamHan
dler | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Media_StreamHan
dler | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Media_StreamHan
dler | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_media_stream_handler_codec_choice (DBusGProxy *proxy, const guint IN_cod
ec_id, GError **error) | | tp_media_stream_handler_codec_choice (DBusGProxy *proxy, const guint IN_cod
ec_id, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "CodecChoice", error, G_TYPE_UINT, IN_co
dec_id, G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "CodecChoice", error, G_TYPE_UINT, IN_co
dec_id, G_TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_media_stream_handler_codec_choice_reply) (DBusGProxy *pro
xy, GError *error, gpointer userdata); | | typedef void (*tp_media_stream_handler_codec_choice_reply) (DBusGProxy *pro
xy, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_media_stream_handler_codec_choice_async_callback (DBusGProxy *proxy, DBu
sGProxyCall *call, void *user_data) | | tp_media_stream_handler_codec_choice_async_callback (DBusGProxy *proxy, DBu
sGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_media_stream_handler_codec_choice_reply)data->cb) (proxy, error, da
ta->userdata); | | (*(tp_media_stream_handler_codec_choice_reply)data->cb) (proxy, error, da
ta->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_media_stream_handler_codec_choice_async (DBusGProxy *proxy, const guint
IN_codec_id, tp_media_stream_handler_codec_choice_reply callback, gpointer
userdata) | | tp_media_stream_handler_codec_choice_async (DBusGProxy *proxy, const guint
IN_codec_id, tp_media_stream_handler_codec_choice_reply callback, gpointer
userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "CodecChoice", tp_media_stream_han
dler_codec_choice_async_callback, stuff, g_free, G_TYPE_UINT, IN_codec_id,
G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "CodecChoice", tp_media_stream_han
dler_codec_choice_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE
_UINT, IN_codec_id, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_media_stream_handler_error (DBusGProxy *proxy, const guint IN_errno, con
st char * IN_message, GError **error) | | tp_media_stream_handler_error (DBusGProxy *proxy, const guint IN_errno, con
st char * IN_message, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "Error", error, G_TYPE_UINT, IN_errno, G
_TYPE_STRING, IN_message, G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "Error", error, G_TYPE_UINT, IN_errno, G
_TYPE_STRING, IN_message, G_TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_media_stream_handler_error_reply) (DBusGProxy *proxy, GEr
ror *error, gpointer userdata); | | typedef void (*tp_media_stream_handler_error_reply) (DBusGProxy *proxy, GEr
ror *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_media_stream_handler_error_async_callback (DBusGProxy *proxy, DBusGProxy
Call *call, void *user_data) | | tp_media_stream_handler_error_async_callback (DBusGProxy *proxy, DBusGProxy
Call *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_media_stream_handler_error_reply)data->cb) (proxy, error, data->use
rdata); | | (*(tp_media_stream_handler_error_reply)data->cb) (proxy, error, data->use
rdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_media_stream_handler_error_async (DBusGProxy *proxy, const guint IN_errn
o, const char * IN_message, tp_media_stream_handler_error_reply callback, g
pointer userdata) | | tp_media_stream_handler_error_async (DBusGProxy *proxy, const guint IN_errn
o, const char * IN_message, tp_media_stream_handler_error_reply callback, g
pointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "Error", tp_media_stream_handler_e
rror_async_callback, stuff, g_free, G_TYPE_UINT, IN_errno, G_TYPE_STRING, I
N_message, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "Error", tp_media_stream_handler_e
rror_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_err
no, G_TYPE_STRING, IN_message, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_media_stream_handler_native_candidates_prepared (DBusGProxy *proxy, GErr
or **error) | | tp_media_stream_handler_native_candidates_prepared (DBusGProxy *proxy, GErr
or **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "NativeCandidatesPrepared", error, G_TYP
E_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "NativeCandidatesPrepared", error, G_TYP
E_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_media_stream_handler_native_candidates_prepared_reply) (D
BusGProxy *proxy, GError *error, gpointer userdata); | | typedef void (*tp_media_stream_handler_native_candidates_prepared_reply) (D
BusGProxy *proxy, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_media_stream_handler_native_candidates_prepared_async_callback (DBusGPro
xy *proxy, DBusGProxyCall *call, void *user_data) | | tp_media_stream_handler_native_candidates_prepared_async_callback (DBusGPro
xy *proxy, DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_media_stream_handler_native_candidates_prepared_reply)data->cb) (pr
oxy, error, data->userdata); | | (*(tp_media_stream_handler_native_candidates_prepared_reply)data->cb) (pr
oxy, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_media_stream_handler_native_candidates_prepared_async (DBusGProxy *proxy
, tp_media_stream_handler_native_candidates_prepared_reply callback, gpoint
er userdata) | | tp_media_stream_handler_native_candidates_prepared_async (DBusGProxy *proxy
, tp_media_stream_handler_native_candidates_prepared_reply callback, gpoint
er userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "NativeCandidatesPrepared", tp_med
ia_stream_handler_native_candidates_prepared_async_callback, stuff, g_free,
G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "NativeCandidatesPrepared", tp_med
ia_stream_handler_native_candidates_prepared_async_callback, stuff, _dbus_g
lib_async_data_free, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_media_stream_handler_new_active_candidate_pair (DBusGProxy *proxy, const
char * IN_native_candidate_id, const char * IN_remote_candidate_id, GError
**error) | | tp_media_stream_handler_new_active_candidate_pair (DBusGProxy *proxy, const
char * IN_native_candidate_id, const char * IN_remote_candidate_id, GError
**error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "NewActiveCandidatePair", error, G_TYPE_
STRING, IN_native_candidate_id, G_TYPE_STRING, IN_remote_candidate_id, G_TY
PE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "NewActiveCandidatePair", error, G_TYPE_
STRING, IN_native_candidate_id, G_TYPE_STRING, IN_remote_candidate_id, G_TY
PE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_media_stream_handler_new_active_candidate_pair_reply) (DB
usGProxy *proxy, GError *error, gpointer userdata); | | typedef void (*tp_media_stream_handler_new_active_candidate_pair_reply) (DB
usGProxy *proxy, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_media_stream_handler_new_active_candidate_pair_async_callback (DBusGProx
y *proxy, DBusGProxyCall *call, void *user_data) | | tp_media_stream_handler_new_active_candidate_pair_async_callback (DBusGProx
y *proxy, DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_media_stream_handler_new_active_candidate_pair_reply)data->cb) (pro
xy, error, data->userdata); | | (*(tp_media_stream_handler_new_active_candidate_pair_reply)data->cb) (pro
xy, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_media_stream_handler_new_active_candidate_pair_async (DBusGProxy *proxy,
const char * IN_native_candidate_id, const char * IN_remote_candidate_id,
tp_media_stream_handler_new_active_candidate_pair_reply callback, gpointer
userdata) | | tp_media_stream_handler_new_active_candidate_pair_async (DBusGProxy *proxy,
const char * IN_native_candidate_id, const char * IN_remote_candidate_id,
tp_media_stream_handler_new_active_candidate_pair_reply callback, gpointer
userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "NewActiveCandidatePair", tp_media
_stream_handler_new_active_candidate_pair_async_callback, stuff, g_free, G_
TYPE_STRING, IN_native_candidate_id, G_TYPE_STRING, IN_remote_candidate_id,
G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "NewActiveCandidatePair", tp_media
_stream_handler_new_active_candidate_pair_async_callback, stuff, _dbus_glib
_async_data_free, G_TYPE_STRING, IN_native_candidate_id, G_TYPE_STRING, IN_
remote_candidate_id, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_media_stream_handler_new_native_candidate (DBusGProxy *proxy, const char
* IN_candidate_id, const GPtrArray* IN_transports, GError **error) | | tp_media_stream_handler_new_native_candidate (DBusGProxy *proxy, const char
* IN_candidate_id, const GPtrArray* IN_transports, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "NewNativeCandidate", error, G_TYPE_STRI
NG, IN_candidate_id, dbus_g_type_get_collection ("GPtrArray", dbus_g_type_g
et_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_U
INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_DOUBLE, G_TYPE_UINT, G_TYPE_STRIN
G, G_TYPE_STRING, G_TYPE_INVALID)), IN_transports, G_TYPE_INVALID, G_TYPE_I
NVALID); | | return dbus_g_proxy_call (proxy, "NewNativeCandidate", error, G_TYPE_STRI
NG, IN_candidate_id, dbus_g_type_get_collection ("GPtrArray", dbus_g_type_g
et_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_U
INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_DOUBLE, G_TYPE_UINT, G_TYPE_STRIN
G, G_TYPE_STRING, G_TYPE_INVALID)), IN_transports, G_TYPE_INVALID, G_TYPE_I
NVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_media_stream_handler_new_native_candidate_reply) (DBusGPr
oxy *proxy, GError *error, gpointer userdata); | | typedef void (*tp_media_stream_handler_new_native_candidate_reply) (DBusGPr
oxy *proxy, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_media_stream_handler_new_native_candidate_async_callback (DBusGProxy *pr
oxy, DBusGProxyCall *call, void *user_data) | | tp_media_stream_handler_new_native_candidate_async_callback (DBusGProxy *pr
oxy, DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_media_stream_handler_new_native_candidate_reply)data->cb) (proxy, e
rror, data->userdata); | | (*(tp_media_stream_handler_new_native_candidate_reply)data->cb) (proxy, e
rror, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_media_stream_handler_new_native_candidate_async (DBusGProxy *proxy, cons
t char * IN_candidate_id, const GPtrArray* IN_transports, tp_media_stream_h
andler_new_native_candidate_reply callback, gpointer userdata) | | tp_media_stream_handler_new_native_candidate_async (DBusGProxy *proxy, cons
t char * IN_candidate_id, const GPtrArray* IN_transports, tp_media_stream_h
andler_new_native_candidate_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "NewNativeCandidate", tp_media_str
eam_handler_new_native_candidate_async_callback, stuff, g_free, G_TYPE_STRI
NG, IN_candidate_id, dbus_g_type_get_collection ("GPtrArray", dbus_g_type_g
et_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_U
INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_DOUBLE, G_TYPE_UINT, G_TYPE_STRIN
G, G_TYPE_STRING, G_TYPE_INVALID)), IN_transports, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "NewNativeCandidate", tp_media_str
eam_handler_new_native_candidate_async_callback, stuff, _dbus_glib_async_da
ta_free, G_TYPE_STRING, IN_candidate_id, dbus_g_type_get_collection ("GPtrA
rray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRING, G
_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_DOUBLE, G_TYP
E_UINT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INVALID)), IN_transports, G_TY
PE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_media_stream_handler_ready (DBusGProxy *proxy, const GPtrArray* IN_codec
s, GError **error) | | tp_media_stream_handler_ready (DBusGProxy *proxy, const GPtrArray* IN_codec
s, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "Ready", error, dbus_g_type_get_collecti
on ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE
_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, dbus_g_type_get_map ("GHash
Table", G_TYPE_STRING, G_TYPE_STRING), G_TYPE_INVALID)), IN_codecs, G_TYPE_
INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "Ready", error, dbus_g_type_get_collecti
on ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE
_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, dbus_g_type_get_map ("GHash
Table", G_TYPE_STRING, G_TYPE_STRING), G_TYPE_INVALID)), IN_codecs, G_TYPE_
INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_media_stream_handler_ready_reply) (DBusGProxy *proxy, GEr
ror *error, gpointer userdata); | | typedef void (*tp_media_stream_handler_ready_reply) (DBusGProxy *proxy, GEr
ror *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_media_stream_handler_ready_async_callback (DBusGProxy *proxy, DBusGProxy
Call *call, void *user_data) | | tp_media_stream_handler_ready_async_callback (DBusGProxy *proxy, DBusGProxy
Call *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_media_stream_handler_ready_reply)data->cb) (proxy, error, data->use
rdata); | | (*(tp_media_stream_handler_ready_reply)data->cb) (proxy, error, data->use
rdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_media_stream_handler_ready_async (DBusGProxy *proxy, const GPtrArray* IN
_codecs, tp_media_stream_handler_ready_reply callback, gpointer userdata) | | tp_media_stream_handler_ready_async (DBusGProxy *proxy, const GPtrArray* IN
_codecs, tp_media_stream_handler_ready_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "Ready", tp_media_stream_handler_r
eady_async_callback, stuff, g_free, dbus_g_type_get_collection ("GPtrArray"
, dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRING, G_TYPE
_UINT, G_TYPE_UINT, G_TYPE_UINT, dbus_g_type_get_map ("GHashTable", G_TYPE_
STRING, G_TYPE_STRING), G_TYPE_INVALID)), IN_codecs, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "Ready", tp_media_stream_handler_r
eady_async_callback, stuff, _dbus_glib_async_data_free, dbus_g_type_get_col
lection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G
_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, dbus_g_type_get_map ("
GHashTable", G_TYPE_STRING, G_TYPE_STRING), G_TYPE_INVALID)), IN_codecs, G_
TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_media_stream_handler_stream_state (DBusGProxy *proxy, const guint IN_sta
te, GError **error) | | tp_media_stream_handler_stream_state (DBusGProxy *proxy, const guint IN_sta
te, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "StreamState", error, G_TYPE_UINT, IN_st
ate, G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "StreamState", error, G_TYPE_UINT, IN_st
ate, G_TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_media_stream_handler_stream_state_reply) (DBusGProxy *pro
xy, GError *error, gpointer userdata); | | typedef void (*tp_media_stream_handler_stream_state_reply) (DBusGProxy *pro
xy, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_media_stream_handler_stream_state_async_callback (DBusGProxy *proxy, DBu
sGProxyCall *call, void *user_data) | | tp_media_stream_handler_stream_state_async_callback (DBusGProxy *proxy, DBu
sGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_media_stream_handler_stream_state_reply)data->cb) (proxy, error, da
ta->userdata); | | (*(tp_media_stream_handler_stream_state_reply)data->cb) (proxy, error, da
ta->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_media_stream_handler_stream_state_async (DBusGProxy *proxy, const guint
IN_state, tp_media_stream_handler_stream_state_reply callback, gpointer use
rdata) | | tp_media_stream_handler_stream_state_async (DBusGProxy *proxy, const guint
IN_state, tp_media_stream_handler_stream_state_reply callback, gpointer use
rdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "StreamState", tp_media_stream_han
dler_stream_state_async_callback, stuff, g_free, G_TYPE_UINT, IN_state, G_T
YPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "StreamState", tp_media_stream_han
dler_stream_state_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE
_UINT, IN_state, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_media_stream_handler_supported_codecs (DBusGProxy *proxy, const GPtrArra
y* IN_codecs, GError **error) | | tp_media_stream_handler_supported_codecs (DBusGProxy *proxy, const GPtrArra
y* IN_codecs, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "SupportedCodecs", error, dbus_g_type_ge
t_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UI
NT, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, dbus_g_type_get_m
ap ("GHashTable", G_TYPE_STRING, G_TYPE_STRING), G_TYPE_INVALID)), IN_codec
s, G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "SupportedCodecs", error, dbus_g_type_ge
t_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UI
NT, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, dbus_g_type_get_m
ap ("GHashTable", G_TYPE_STRING, G_TYPE_STRING), G_TYPE_INVALID)), IN_codec
s, G_TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_media_stream_handler_supported_codecs_reply) (DBusGProxy
*proxy, GError *error, gpointer userdata); | | typedef void (*tp_media_stream_handler_supported_codecs_reply) (DBusGProxy
*proxy, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_media_stream_handler_supported_codecs_async_callback (DBusGProxy *proxy,
DBusGProxyCall *call, void *user_data) | | tp_media_stream_handler_supported_codecs_async_callback (DBusGProxy *proxy,
DBusGProxyCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_media_stream_handler_supported_codecs_reply)data->cb) (proxy, error
, data->userdata); | | (*(tp_media_stream_handler_supported_codecs_reply)data->cb) (proxy, error
, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_media_stream_handler_supported_codecs_async (DBusGProxy *proxy, const GP
trArray* IN_codecs, tp_media_stream_handler_supported_codecs_reply callback
, gpointer userdata) | | tp_media_stream_handler_supported_codecs_async (DBusGProxy *proxy, const GP
trArray* IN_codecs, tp_media_stream_handler_supported_codecs_reply callback
, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "SupportedCodecs", tp_media_stream
_handler_supported_codecs_async_callback, stuff, g_free, dbus_g_type_get_co
llection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT,
G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, dbus_g_type_get_map (
"GHashTable", G_TYPE_STRING, G_TYPE_STRING), G_TYPE_INVALID)), IN_codecs, G
_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "SupportedCodecs", tp_media_stream
_handler_supported_codecs_async_callback, stuff, _dbus_glib_async_data_free
, dbus_g_type_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueA
rray", G_TYPE_UINT, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, d
bus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_STRING), G_TYPE_INV
ALID)), IN_codecs, G_TYPE_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Media
_StreamHandler */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Media
_StreamHandler */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 26 change blocks. |
| 26 lines changed or deleted | | 38 lines changed or added | |
|
| tp-props-iface-gen.h | | tp-props-iface-gen.h | |
| /* Generated by dbus-binding-tool; do not edit! */ | | /* Generated by dbus-binding-tool; do not edit! */ | |
| | | | |
|
| #include <glib/gtypes.h> | | #include <glib.h> | |
| #include <glib/gerror.h> | | | |
| #include <dbus/dbus-glib.h> | | #include <dbus/dbus-glib.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| | | #ifndef _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | #define _DBUS_GLIB_ASYNC_DATA_FREE | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | void | |
| | | _dbus_glib_async_data_free (gpointer stuff) | |
| | | { | |
| | | g_slice_free (DBusGAsyncData, stuff); | |
| | | } | |
| | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Properties | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Properties | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Properties | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Properties | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_props_iface_get_properties (DBusGProxy *proxy, const GArray* IN_properti
es, GPtrArray** OUT_arg1, GError **error) | | tp_props_iface_get_properties (DBusGProxy *proxy, const GArray* IN_properti
es, GPtrArray** OUT_arg1, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetProperties", error, dbus_g_type_get_
collection ("GArray", G_TYPE_UINT), IN_properties, G_TYPE_INVALID, dbus_g_t
ype_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_T
YPE_UINT, G_TYPE_VALUE, G_TYPE_INVALID)), OUT_arg1, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetProperties", error, dbus_g_type_get_
collection ("GArray", G_TYPE_UINT), IN_properties, G_TYPE_INVALID, dbus_g_t
ype_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_T
YPE_UINT, G_TYPE_VALUE, G_TYPE_INVALID)), OUT_arg1, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_props_iface_get_properties_reply) (DBusGProxy *proxy, GPt
rArray *OUT_arg1, GError *error, gpointer userdata); | | typedef void (*tp_props_iface_get_properties_reply) (DBusGProxy *proxy, GPt
rArray *OUT_arg1, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_props_iface_get_properties_async_callback (DBusGProxy *proxy, DBusGProxy
Call *call, void *user_data) | | tp_props_iface_get_properties_async_callback (DBusGProxy *proxy, DBusGProxy
Call *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GPtrArray* OUT_arg1; | | GPtrArray* OUT_arg1; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_VALU
E, G_TYPE_INVALID)), &OUT_arg1, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_VALU
E, G_TYPE_INVALID)), &OUT_arg1, G_TYPE_INVALID); | |
| (*(tp_props_iface_get_properties_reply)data->cb) (proxy, OUT_arg1, error,
data->userdata); | | (*(tp_props_iface_get_properties_reply)data->cb) (proxy, OUT_arg1, error,
data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_props_iface_get_properties_async (DBusGProxy *proxy, const GArray* IN_pr
operties, tp_props_iface_get_properties_reply callback, gpointer userdata) | | tp_props_iface_get_properties_async (DBusGProxy *proxy, const GArray* IN_pr
operties, tp_props_iface_get_properties_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "GetProperties", tp_props_iface_ge
t_properties_async_callback, stuff, g_free, dbus_g_type_get_collection ("GA
rray", G_TYPE_UINT), IN_properties, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetProperties", tp_props_iface_ge
t_properties_async_callback, stuff, _dbus_glib_async_data_free, dbus_g_type
_get_collection ("GArray", G_TYPE_UINT), IN_properties, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_props_iface_list_properties (DBusGProxy *proxy, GPtrArray** OUT_arg0, GE
rror **error) | | tp_props_iface_list_properties (DBusGProxy *proxy, GPtrArray** OUT_arg0, GE
rror **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "ListProperties", error, G_TYPE_INVALID,
dbus_g_type_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueAr
ray", G_TYPE_UINT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INVALI
D)), OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "ListProperties", error, G_TYPE_INVALID,
dbus_g_type_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueAr
ray", G_TYPE_UINT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INVALI
D)), OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_props_iface_list_properties_reply) (DBusGProxy *proxy, GP
trArray *OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_props_iface_list_properties_reply) (DBusGProxy *proxy, GP
trArray *OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_props_iface_list_properties_async_callback (DBusGProxy *proxy, DBusGProx
yCall *call, void *user_data) | | tp_props_iface_list_properties_async_callback (DBusGProxy *proxy, DBusGProx
yCall *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GPtrArray* OUT_arg0; | | GPtrArray* OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRI
NG, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INVALID)), &OUT_arg0, G_TYPE_INVALID
); | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("
GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRI
NG, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INVALID)), &OUT_arg0, G_TYPE_INVALID
); | |
| (*(tp_props_iface_list_properties_reply)data->cb) (proxy, OUT_arg0, error
, data->userdata); | | (*(tp_props_iface_list_properties_reply)data->cb) (proxy, OUT_arg0, error
, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_props_iface_list_properties_async (DBusGProxy *proxy, tp_props_iface_lis
t_properties_reply callback, gpointer userdata) | | tp_props_iface_list_properties_async (DBusGProxy *proxy, tp_props_iface_lis
t_properties_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "ListProperties", tp_props_iface_l
ist_properties_async_callback, stuff, g_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "ListProperties", tp_props_iface_l
ist_properties_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_IN
VALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_props_iface_set_properties (DBusGProxy *proxy, const GPtrArray* IN_prope
rties, GError **error) | | tp_props_iface_set_properties (DBusGProxy *proxy, const GPtrArray* IN_prope
rties, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "SetProperties", error, dbus_g_type_get_
collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT
, G_TYPE_VALUE, G_TYPE_INVALID)), IN_properties, G_TYPE_INVALID, G_TYPE_INV
ALID); | | return dbus_g_proxy_call (proxy, "SetProperties", error, dbus_g_type_get_
collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT
, G_TYPE_VALUE, G_TYPE_INVALID)), IN_properties, G_TYPE_INVALID, G_TYPE_INV
ALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_props_iface_set_properties_reply) (DBusGProxy *proxy, GEr
ror *error, gpointer userdata); | | typedef void (*tp_props_iface_set_properties_reply) (DBusGProxy *proxy, GEr
ror *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_props_iface_set_properties_async_callback (DBusGProxy *proxy, DBusGProxy
Call *call, void *user_data) | | tp_props_iface_set_properties_async_callback (DBusGProxy *proxy, DBusGProxy
Call *call, void *user_data) | |
| { | | { | |
|
| DBusGAsyncData *data = user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| (*(tp_props_iface_set_properties_reply)data->cb) (proxy, error, data->use
rdata); | | (*(tp_props_iface_set_properties_reply)data->cb) (proxy, error, data->use
rdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
| tp_props_iface_set_properties_async (DBusGProxy *proxy, const GPtrArray* IN
_properties, tp_props_iface_set_properties_reply callback, gpointer userdat
a) | | tp_props_iface_set_properties_async (DBusGProxy *proxy, const GPtrArray* IN
_properties, tp_props_iface_set_properties_reply callback, gpointer userdat
a) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
|
| stuff = g_new (DBusGAsyncData, 1); | | stuff = g_slice_new (DBusGAsyncData); | |
| stuff->cb = G_CALLBACK (callback); | | stuff->cb = G_CALLBACK (callback); | |
| stuff->userdata = userdata; | | stuff->userdata = userdata; | |
|
| return dbus_g_proxy_begin_call (proxy, "SetProperties", tp_props_iface_se
t_properties_async_callback, stuff, g_free, dbus_g_type_get_collection ("GP
trArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_VALUE,
G_TYPE_INVALID)), IN_properties, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "SetProperties", tp_props_iface_se
t_properties_async_callback, stuff, _dbus_glib_async_data_free, dbus_g_type
_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE
_UINT, G_TYPE_VALUE, G_TYPE_INVALID)), IN_properties, G_TYPE_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Prope
rties */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Prope
rties */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 11 change blocks. |
| 11 lines changed or deleted | | 23 lines changed or added | |
|