summaryrefslogtreecommitdiff
path: root/gdbus
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-05-18 20:30:04 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2012-05-18 22:02:37 (GMT)
commitad7d6a6b48b298d96bc471c64aff2bd20c9efff2 (patch)
tree6a2289af7b4bed7b69568bfcf90debd9fbdb48fe /gdbus
parent0e89d5c7780feb05defe3480196d4782c190ef6a (diff)
downloadconnman-ad7d6a6b48b298d96bc471c64aff2bd20c9efff2.zip
connman-ad7d6a6b48b298d96bc471c64aff2bd20c9efff2.tar.gz
connman-ad7d6a6b48b298d96bc471c64aff2bd20c9efff2.tar.bz2
gdbus: add argument info to methods and signals
Diffstat (limited to 'gdbus')
-rw-r--r--gdbus/gdbus.h8
1 files changed, 8 insertions, 0 deletions
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 {