Hi,

I am trying to use the sd-bus to send structures that are a bit complex in
nature.

For example, consider the following:

struct complex_struct {
    int some_integers[10];
    char *str;
} cs;

cs property_to_send[10];

This d-bus property would be something like "a(ais)".

Assuming I want to send the above array, I am trying to right the
property's function handler in the sd_bus_server for the same.

I know the open and close container can be used for simple arrays. I am
finding it hard to make it work for the nested array case. Can some one
please help point me to any example or references for the same?

Thanks,
Guhan
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to