From ad7d6a6b48b298d96bc471c64aff2bd20c9efff2 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Fri, 18 May 2012 17:30:04 -0300 Subject: gdbus: add argument info to methods and signals --- gdbus/gdbus.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gdbus') diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h index a0583e64..e5e7938d 100644 --- a/gdbus/gdbus.h +++ b/gdbus/gdbus.h @@ -82,6 +82,11 @@ typedef enum { G_DBUS_SECURITY_FLAG_ALLOW_INTERACTION = (1 << 2), } GDBusSecurityFlags; +typedef struct { + const char *name; + const char *signature; +} GDBusArgInfo; + typedef struct { const char *name; const char *signature; @@ -89,12 +94,15 @@ typedef struct { GDBusMethodFunction function; GDBusMethodFlags flags; unsigned int privilege; + const GDBusArgInfo *in_args; + const GDBusArgInfo *out_args; } GDBusMethodTable; typedef struct { const char *name; const char *signature; GDBusSignalFlags flags; + const GDBusArgInfo *args; } GDBusSignalTable; typedef struct { -- cgit v1.2.3