From d1a1a9bcc999ebfcf09aacd9bfd0acff7d1962a8 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Sun, 20 May 2012 02:07:27 -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