SharingServiceOptionValue

SharingServiceOptionValue — Object is simple id name pair used with SharingAccount.

Synopsis

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);

Description

SharingServiceOptionValue is abstraction of sharing account specific option values.

Details

SharingServiceOptionValue

typedef struct SharingServiceOptionValue SharingServiceOptionValue;

sharing_service_option_value_new ()

SharingServiceOptionValue* sharing_service_option_value_new
                                                        (const gchar *id,
                                                         const gchar *name,
                                                         const gchar *description);

New option value. At least id and name should be defined!

id : ID of option value
name : Name of option value
description : Description or NULL
Returns : Pointer to value. Free with sharing_service_option_value_free()

sharing_service_option_value_free ()

void                sharing_service_option_value_free   (SharingServiceOptionValue *value);

sharing_service_option_values_free ()

void                sharing_service_option_values_free  (GSList *values);

Free list and SharingServiceOptionValue objects in it

values : GSList of pointers to SharingServiceOptionValue