Re: [systemd-devel] sd-bus: get size of array container in D-Bus message

2023-08-02 Thread Luca Boccassi
On Wed, 2 Aug 2023 at 20:00, Giacinto Cifelli wrote: > > On Wed, Aug 2, 2023 at 6:44 PM Stephen Hemminger > wrote: > > > > On Wed, 02 Aug 2023 06:39:47 + > > Stanislav Angelovič wrote: > > > > > Hi folks, > > > > > > I have a quick question: is there a way to get container size when > > > d

Re: [systemd-devel] sd-bus: get size of array container in D-Bus message

2023-08-02 Thread Giacinto Cifelli
On Wed, Aug 2, 2023 at 6:44 PM Stephen Hemminger wrote: > > On Wed, 02 Aug 2023 06:39:47 + > Stanislav Angelovič wrote: > > > Hi folks, > > > > I have a quick question: is there a way to get container size when > > deserializing an array from a D-Bus message (be it an array of trivial or >

Re: [systemd-devel] sd-bus: get size of array container in D-Bus message

2023-08-02 Thread Stephen Hemminger
On Wed, 02 Aug 2023 06:39:47 + Stanislav Angelovič wrote: > Hi folks, > > I have a quick question: is there a way to get container size when > deserializing an array from a D-Bus message (be it an array of trivial or > non-trivial D-Bus types)? Say I enter a container with > sd_bus_messag