Re: [PATCH BlueZ v5 09/16] gdbus: Add g_dbus_proxy_set_property_array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Claudio,

On Tue, Mar 18, 2014, Claudio Takahasi wrote:
> This patch adds a new gdbus utility function to allow setting a property
> of fixed, and non-fixed values array.
> ---
>  gdbus/client.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  gdbus/gdbus.h  |  5 ++++
>  2 files changed, 90 insertions(+)
> 
> diff --git a/gdbus/client.c b/gdbus/client.c
> index 5193b6c..6fea3d9 100644
> --- a/gdbus/client.c
> +++ b/gdbus/client.c
> @@ -727,6 +727,91 @@ gboolean g_dbus_proxy_set_property_basic(GDBusProxy *proxy,
>  	return TRUE;
>  }
>  
> +gboolean g_dbus_proxy_set_property_array(GDBusProxy *proxy,
> +				const char *name, int type, const void *value,
> +				int size, GDBusResultFunction function,
> +				void *user_data, GDBusDestroyFunction destroy)

Would size_t make more sense for the size parameter? Can it be negative
(in which case maybe ssize_t)?

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux