1 May 2010 01:40
Re: [PATCH] Add send_method_call to g_dbus
* Marcel Holtmann <marcel@...> [2010-04-27 04:33:36 +0200]: > Hi Gustavo, > > > Puting send_method_call and send_method_call_with_reply on g_dbus will > > avoid some code duplication and will make things easier mainly for the > > Bluetooth plugins (HFP, DUN, SAP) inside oFono. > > --- > > gdbus/gdbus.h | 12 ++++ > > gdbus/object.c | 81 +++++++++++++++++++++++++++++ > > plugins/hfp.c | 154 +++++++++++++------------------------------------------ > > 3 files changed, 130 insertions(+), 117 deletions(-) > > first of all, we don't intermix gdbus patches with other changes. > Remember that these commits have to be applied to BlueZ and ConnMan as > well. > > > diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h > > index 47e18cf..ac488c5 100644 > > --- a/gdbus/gdbus.h > > +++ b/gdbus/gdbus.h > > <at> <at> -106,12 +106,24 <at> <at> DBusMessage *g_dbus_create_error_valist(DBusMessage *message, const char *name, > > DBusMessage *g_dbus_create_reply(DBusMessage *message, int type, ...); > > DBusMessage *g_dbus_create_reply_valist(DBusMessage *message, > > int type, va_list args); > > +DBusMessage *g_dbus_create_method_call(const char *dest, const char *path, > > + const char *interface, const char *method, > > + int type, va_list args); > > > > gboolean g_dbus_send_message(DBusConnection *connection, DBusMessage *message);(Continue reading)
RSS Feed