gdbus: add argument info to methods and signals
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Sun, 20 May 2012 05:07:27 +0000 (02:07 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 20 May 2012 09:47:56 +0000 (02:47 -0700)
gdbus/gdbus.h

index a0583e6..e5e7938 100644 (file)
@@ -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 {