--- gdbus/gdbus.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h index a0583e6..610cb19 100644 --- a/gdbus/gdbus.h +++ b/gdbus/gdbus.h @@ -85,16 +85,26 @@ typedef enum { typedef struct { const char *name; const char *signature; +} GDBusArgInfo; + +#define GDBUS_ARGS_INFO(args...) (const GDBusArgInfo[]) { args, { } } + +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 { -- 1.7.10 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html