From ad7d6a6b48b298d96bc471c64aff2bd20c9efff2 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Fri, 18 May 2012 17:30:04 -0300 Subject: [PATCH] gdbus: add argument info to methods and signals --- gdbus/gdbus.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h index a0583e6..e5e7938 100644 --- a/gdbus/gdbus.h +++ b/gdbus/gdbus.h @@ -85,16 +85,24 @@ typedef enum { typedef struct { const char *name; const char *signature; +} GDBusArgInfo; + +typedef struct { + const char *name; + const char *signature; const char *reply; 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 { -- 2.7.4