![]() |
![]() |
![]() |
LibSharing Manual | ![]() |
---|---|---|---|---|
typedef SharingServiceOptionValue; SharingServiceOptionValue* sharing_service_option_value_new (const gchar *id, const gchar *name, const gchar *description); void sharing_service_option_value_free (SharingServiceOptionValue *value); void sharing_service_option_values_free (GSList *values);
SharingServiceOptionValue* sharing_service_option_value_new (const gchar *id, const gchar *name, const gchar *description);
Create a new SharingServiceOptionValue. At least an ID and name should be defined.
id : |
ID of option value |
name : |
Name of option value |
description : |
Description or NULL
|
Returns : | a newly-allocated SharingServiceOptionValue. Free with
sharing_service_option_value_free()
|
void sharing_service_option_value_free (SharingServiceOptionValue *value);
Free all memory used by a SharingServiceOptionValue.
value : |
a SharingServiceOptionValue |
void sharing_service_option_values_free (GSList *values);
Free a GSList and the SharingServiceOptionValue objects in it.
values : |
a GSList of pointers to SharingServiceOptionValue |