* [PATCH BlueZ] gdbus: add macro for methods marked as NOREPLY
@ 2012-05-21 14:54 Lucas De Marchi
2012-05-23 22:24 ` Lucas De Marchi
0 siblings, 1 reply; 3+ messages in thread
From: Lucas De Marchi @ 2012-05-21 14:54 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Lucas De Marchi
---
This one is not used in BlueZ, but it was necessary for other projects using
gdbus. It's better to keep them in sync.
gdbus/gdbus.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h
index e2e160d..0a8a27c 100644
--- a/gdbus/gdbus.h
+++ b/gdbus/gdbus.h
@@ -144,6 +144,13 @@ typedef struct {
.function = _function, \
.flags = G_DBUS_METHOD_FLAG_ASYNC | G_DBUS_METHOD_FLAG_DEPRECATED
+#define GDBUS_NOREPLY_METHOD(_name, _in_args, _out_args, _function) \
+ .name = _name, \
+ .in_args = _in_args, \
+ .out_args = _out_args, \
+ .function = _function, \
+ .flags = G_DBUS_METHOD_FLAG_NOREPLY
+
#define GDBUS_SIGNAL(_name, _args) \
.name = _name, \
.args = _args
--
1.7.10.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH BlueZ] gdbus: add macro for methods marked as NOREPLY
2012-05-21 14:54 [PATCH BlueZ] gdbus: add macro for methods marked as NOREPLY Lucas De Marchi
@ 2012-05-23 22:24 ` Lucas De Marchi
2012-06-18 14:34 ` Johan Hedberg
0 siblings, 1 reply; 3+ messages in thread
From: Lucas De Marchi @ 2012-05-23 22:24 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Lucas De Marchi
Hi Marcel,
On Mon, May 21, 2012 at 11:54 AM, Lucas De Marchi
<lucas.demarchi@profusion.mobi> wrote:
> ---
>
> This one is not used in BlueZ, but it was necessary for other projects us=
ing
> gdbus. It's better to keep them in sync.
>
> =A0gdbus/gdbus.h | =A0 =A07 +++++++
> =A01 file changed, 7 insertions(+)
>
> diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h
> index e2e160d..0a8a27c 100644
> --- a/gdbus/gdbus.h
> +++ b/gdbus/gdbus.h
This one is still missing in BlueZ, neard and ConnMan.
Lucas De Marchi
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH BlueZ] gdbus: add macro for methods marked as NOREPLY
2012-05-23 22:24 ` Lucas De Marchi
@ 2012-06-18 14:34 ` Johan Hedberg
0 siblings, 0 replies; 3+ messages in thread
From: Johan Hedberg @ 2012-06-18 14:34 UTC (permalink / raw)
To: Lucas De Marchi; +Cc: linux-bluetooth
Hi Lucas,
On Wed, May 23, 2012, Lucas De Marchi wrote:
> On Mon, May 21, 2012 at 11:54 AM, Lucas De Marchi
> <lucas.demarchi@profusion.mobi> wrote:
> > ---
> >
> > This one is not used in BlueZ, but it was necessary for other projects using
> > gdbus. It's better to keep them in sync.
> >
> > gdbus/gdbus.h | 7 +++++++
> > 1 file changed, 7 insertions(+)
> >
> > diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h
> > index e2e160d..0a8a27c 100644
> > --- a/gdbus/gdbus.h
> > +++ b/gdbus/gdbus.h
>
> This one is still missing in BlueZ, neard and ConnMan.
Applied to bluez.git and obexd.git.
Johan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-18 14:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-21 14:54 [PATCH BlueZ] gdbus: add macro for methods marked as NOREPLY Lucas De Marchi
2012-05-23 22:24 ` Lucas De Marchi
2012-06-18 14:34 ` Johan Hedberg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.