mirror of git://git.sysmocom.de/ofono
gdbus: add argument info to methods and signals
This commit is contained in:
parent
924ee02ff7
commit
d1a1a9bcc9
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue