Functions | |
| int | ecore_config_create (const char *key, void *val, char short_opt, char *long_opt, char *desc) |
| Creates a new property, if it does not already exist, and sets its attributes to those given. | |
| int | ecore_config_typed_create (const char *key, void *val, int type, char short_opt, char *long_opt, char *desc) |
| Creates a new property, if it does not already exist, and sets its attributes to those given. | |
| int | ecore_config_boolean_create (const char *key, int val, char short_opt, char *long_opt, char *desc) |
| Creates a new boolean property, if it does not already exist, and sets its attributes to those given. | |
| int | ecore_config_int_create (const char *key, int val, char short_opt, char *long_opt, char *desc) |
| Creates a new integer property, if it does not already exist, and sets its attributes to those given. | |
| int | ecore_config_int_create_bound (const char *key, int val, int low, int high, int step, char short_opt, char *long_opt, char *desc) |
| Creates a new integer property, if it does not already exist, and sets its attributes to those given. | |
| int | ecore_config_string_create (const char *key, char *val, char short_opt, char *long_opt, char *desc) |
| Creates a new string property, if it does not already exist, and sets its attributes to those given. | |
| int | ecore_config_float_create (const char *key, float val, char short_opt, char *long_opt, char *desc) |
| Creates a new float property, if it does not already exist, and sets its attributes to those given. | |
| int | ecore_config_float_create_bound (const char *key, float val, float low, float high, float step, char short_opt, char *long_opt, char *desc) |
| Creates a new float property, if it does not already exist, and sets its attributes to those given. | |
| int | ecore_config_argb_create (const char *key, char *val, char short_opt, char *long_opt, char *desc) |
| Creates a new color property, if it does not already exist, and sets its attributes to those given. | |
| int | ecore_config_theme_create (const char *key, char *val, char short_opt, char *long_opt, char *desc) |
| Creates a new theme property, if it does not already exist, and sets its attributes to those given. | |
| int ecore_config_argb_create | ( | const char * | key, | |
| char * | val, | |||
| char | short_opt, | |||
| char * | long_opt, | |||
| char * | desc | |||
| ) |
Creates a new color property, if it does not already exist, and sets its attributes to those given.
| key | The property key. | |
| val | Default color value of key, as a hexadecimal string. | |
| short_opt | Short option used to set the property from command line. | |
| long_opt | Long option used to set the property from command line. | |
| desc | String description of property. |
ECORE_CONFIG_ERR_SUCC on success. | int ecore_config_boolean_create | ( | const char * | key, | |
| int | val, | |||
| char | short_opt, | |||
| char * | long_opt, | |||
| char * | desc | |||
| ) |
Creates a new boolean property, if it does not already exist, and sets its attributes to those given.
| key | The property key. | |
| val | Default boolean value of key. | |
| short_opt | Short option used to set the property from command line. | |
| long_opt | Long option used to set the property from command line. | |
| desc | String description of property. |
ECORE_CONFIG_ERR_SUCC on success. | int ecore_config_create | ( | const char * | key, | |
| void * | val, | |||
| char | short_opt, | |||
| char * | long_opt, | |||
| char * | desc | |||
| ) |
Creates a new property, if it does not already exist, and sets its attributes to those given.
The type of the property is guessed from the key and the value given.
| key | The property key. | |
| val | Pointer to default value of key. | |
| short_opt | Short option used to set the property from command line. | |
| long_opt | Long option used to set the property from command line. | |
| desc | String description of property. |
ECORE_CONFIG_ERR_SUCC on success. | int ecore_config_float_create | ( | const char * | key, | |
| float | val, | |||
| char | short_opt, | |||
| char * | long_opt, | |||
| char * | desc | |||
| ) |
Creates a new float property, if it does not already exist, and sets its attributes to those given.
| key | The property key. | |
| val | Default float value of key. | |
| short_opt | Short option used to set the property from command line. | |
| long_opt | Long option used to set the property from command line. | |
| desc | String description of property. |
ECORE_CONFIG_ERR_SUCC on success. | int ecore_config_float_create_bound | ( | const char * | key, | |
| float | val, | |||
| float | low, | |||
| float | high, | |||
| float | step, | |||
| char | short_opt, | |||
| char * | long_opt, | |||
| char * | desc | |||
| ) |
Creates a new float property, if it does not already exist, and sets its attributes to those given.
| key | The property key. | |
| val | Default float value of key. | |
| low | Lowest valid float value for the property. | |
| high | Highest valid float value for the property. | |
| step | Increment value for the property. | |
| short_opt | Short option used to set the property from command line. | |
| long_opt | Long option used to set the property from command line. | |
| desc | String description of property. |
ECORE_CONFIG_ERR_SUCC on success. | int ecore_config_int_create | ( | const char * | key, | |
| int | val, | |||
| char | short_opt, | |||
| char * | long_opt, | |||
| char * | desc | |||
| ) |
Creates a new integer property, if it does not already exist, and sets its attributes to those given.
| key | The property key. | |
| val | Default integer value of key. | |
| short_opt | Short option used to set the property from command line. | |
| long_opt | Long option used to set the property from command line. | |
| desc | String description of property. |
ECORE_CONFIG_ERR_SUCC on success. | int ecore_config_int_create_bound | ( | const char * | key, | |
| int | val, | |||
| int | low, | |||
| int | high, | |||
| int | step, | |||
| char | short_opt, | |||
| char * | long_opt, | |||
| char * | desc | |||
| ) |
Creates a new integer property, if it does not already exist, and sets its attributes to those given.
| key | The property key. | |
| val | Default integer value of key. | |
| low | Lowest valid integer value for the property. | |
| high | Highest valid integer value for the property. | |
| step | Increment value for the property. | |
| short_opt | Short option used to set the property from command line. | |
| long_opt | Long option used to set the property from command line. | |
| desc | String description of property. |
ECORE_CONFIG_ERR_SUCC on success. | int ecore_config_string_create | ( | const char * | key, | |
| char * | val, | |||
| char | short_opt, | |||
| char * | long_opt, | |||
| char * | desc | |||
| ) |
Creates a new string property, if it does not already exist, and sets its attributes to those given.
| key | The property key. | |
| val | Default value of key. | |
| short_opt | Short option used to set the property from command line. | |
| long_opt | Long option used to set the property from command line. | |
| desc | String description of property. |
ECORE_CONFIG_ERR_SUCC on success. | int ecore_config_theme_create | ( | const char * | key, | |
| char * | val, | |||
| char | short_opt, | |||
| char * | long_opt, | |||
| char * | desc | |||
| ) |
Creates a new theme property, if it does not already exist, and sets its attributes to those given.
| key | The property key. | |
| val | Default theme name for the property. | |
| short_opt | Short option used to set the property from command line. | |
| long_opt | Long option used to set the property from command line. | |
| desc | String description of property. |
ECORE_CONFIG_ERR_SUCC on success. | int ecore_config_typed_create | ( | const char * | key, | |
| void * | val, | |||
| int | type, | |||
| char | short_opt, | |||
| char * | long_opt, | |||
| char * | desc | |||
| ) |
Creates a new property, if it does not already exist, and sets its attributes to those given.
| key | The property key. | |
| val | Pointer to default value of key. | |
| type | Type of the property. | |
| short_opt | Short option used to set the property from command line. | |
| long_opt | Long option used to set the property from command line. | |
| desc | String description of property. |
ECORE_CONFIG_ERR_SUCC on success.