gdbus: add argument info to methods and signals

This commit is contained in:
Lucas De Marchi 2012-05-20 02:07:27 -03:00 committed by Marcel Holtmann
parent 924ee02ff7
commit d1a1a9bcc9
1 changed files with 8 additions and 0 deletions

View File

@ -82,6 +82,11 @@ typedef enum {
G_DBUS_SECURITY_FLAG_ALLOW_INTERACTION = (1 << 2),
} GDBusSecurityFlags;
typedef struct {
const char *name;
const char *signature;
} GDBusArgInfo;
typedef struct {
const char *name;
const char *signature;
@ -89,12 +94,15 @@ typedef struct {
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 {