diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2012-05-20 02:07:33 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-05-20 02:47:57 -0700 |
commit | 7f2b69d7b84061778e1ab9c43519ebb7083f9813 (patch) | |
tree | 6c26c15684ac90463e582b6d8cf83f9a0a1c7d97 /gdbus/gdbus.h | |
parent | e0d6f9f0cece363fe7397e683eb5ec5d01096f51 (diff) | |
download | ofono-7f2b69d7b84061778e1ab9c43519ebb7083f9813.tar.bz2 |
gdbus: remove signature and reply from tables
Diffstat (limited to 'gdbus/gdbus.h')
-rw-r--r-- | gdbus/gdbus.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h index 868c8d56..0a8a27c5 100644 --- a/gdbus/gdbus.h +++ b/gdbus/gdbus.h @@ -89,8 +89,6 @@ typedef struct { typedef struct { const char *name; - const char *signature; - const char *reply; GDBusMethodFunction function; GDBusMethodFlags flags; unsigned int privilege; @@ -100,7 +98,6 @@ typedef struct { typedef struct { const char *name; - const char *signature; GDBusSignalFlags flags; const GDBusArgInfo *args; } GDBusSignalTable; @@ -120,63 +117,6 @@ typedef struct { #define GDBUS_ARGS(args...) (const GDBusArgInfo[]) { args, { } } -#define _GDBUS_METHOD(_name, _signature, _reply, _in_args, _out_args, _function) \ - .name = _name, \ - .signature = _signature, \ - .reply = _reply, \ - .in_args = _in_args, \ - .out_args = _out_args, \ - .function = _function - -#define _GDBUS_ASYNC_METHOD(_name, _signature, _reply, _in_args, _out_args, _function) \ - .name = _name, \ - .signature = _signature, \ - .reply = _reply, \ - .in_args = _in_args, \ - .out_args = _out_args, \ - .function = _function, \ - .flags = G_DBUS_METHOD_FLAG_ASYNC - -#define _GDBUS_DEPRECATED_METHOD(_name, _signature, _reply, _in_args, _out_args, _function) \ - .name = _name, \ - .signature = _signature, \ - .reply = _reply, \ - .in_args = _in_args, \ - .out_args = _out_args, \ - .function = _function, \ - .flags = G_DBUS_METHOD_FLAG_DEPRECATED - -#define _GDBUS_DEPRECATED_ASYNC_METHOD(_name, _signature, _reply, _in_args, _out_args, _function) \ - .name = _name, \ - .signature = _signature, \ - .reply = _reply, \ - .in_args = _in_args, \ - .out_args = _out_args, \ - .function = _function, \ - .flags = G_DBUS_METHOD_FLAG_ASYNC | G_DBUS_METHOD_FLAG_DEPRECATED - -#define _GDBUS_NOREPLY_METHOD(_name, _signature, _reply, _in_args, _out_args, _function) \ - .name = _name, \ - .signature = _signature, \ - .reply = _reply, \ - .in_args = _in_args, \ - .out_args = _out_args, \ - .function = _function, \ - .flags = G_DBUS_METHOD_FLAG_NOREPLY - -#define _GDBUS_SIGNAL(_name, _signature, _args) \ - .name = _name, \ - .signature = _signature, \ - .args = _args - -#define _GDBUS_DEPRECATED_SIGNAL(_name, _signature, _args) \ - .name = _name, \ - .signature = _signature, \ - .args = _args, \ - .flags = G_DBUS_SIGNAL_FLAG_DEPRECATED - -/* Helpers with no signature and reply */ - #define GDBUS_METHOD(_name, _in_args, _out_args, _function) \ .name = _name, \ .in_args = _in_args, \ |