On Mon, 26.06.17 12:19, guhan balasubramanian (guhan@gmail.com) wrote:
> > if you use sd_bus_reply_method_return() (or sd_bus_append()) the
> > arguments to pass for an array is the array's size followed by the
> > members. Hence, the following should do what you want:
> >
> >
Hi Lennart,
Thank you for the reply. Please find my comments inline:
On Sat, Jun 24, 2017 at 12:55 AM, Lennart Poettering wrote:
> On Fri, 23.06.17 20:45, guhan balasubramanian (guhan@gmail.com) wrote:
>
> > Hi,
> >
> > I'm currently trying out sd-bus methods for
On Fri, 23.06.17 20:45, guhan balasubramanian (guhan@gmail.com) wrote:
> Hi,
>
> I'm currently trying out sd-bus methods for my application. I am in a
> situation where I must accept an input and return a byte array based on the
> input.
>
> In the vtable. the following declaration is
Hi,
I'm currently trying out sd-bus methods for my application. I am in a
situation where I must accept an input and return a byte array based on the
input.
In the vtable. the following declaration is present:
SD_BUS_METHOD("method_id", "x", "ay", method_1, 0)
And inside the definition for