Functions | |
EAPI Ecore_Config_Prop * | ecore_config_dst (Ecore_Config_Prop *e) |
Removes the given property from the local configuration and destroys it. | |
EAPI const char * | ecore_config_type_get (const Ecore_Config_Prop *e) |
Returns the type of the property. | |
EAPI int | ecore_config_describe (const char *key, const char *desc) |
Sets the description field of the indicated property. | |
EAPI int | ecore_config_short_opt_set (const char *key, char short_opt) |
Set the short option character of a property. | |
EAPI int | ecore_config_long_opt_set (const char *key, const char *long_opt) |
Set the long option string of the property. | |
EAPI int | ecore_config_typed_set (const char *key, const void *val, int type) |
Sets the indicated property to the given value and type. |
EAPI int ecore_config_describe | ( | const char * | key, | |
const char * | desc | |||
) |
Sets the description field of the indicated property.
key | The property key. | |
desc | Description string. |
desc
once this function is called. EAPI Ecore_Config_Prop* ecore_config_dst | ( | Ecore_Config_Prop * | e | ) |
Removes the given property from the local configuration and destroys it.
e | Property to destroy. |
NULL
EAPI int ecore_config_long_opt_set | ( | const char * | key, | |
const char * | long_opt | |||
) |
Set the long option string of the property.
key | The property key. | |
long_opt | String used to indicate the value of a property given on the command line. |
ECORE_CONFIG_ERR_SUCC
on success. ECORE_CONFIG_ERR_NODATA
is returned if the property does not exist. EAPI int ecore_config_short_opt_set | ( | const char * | key, | |
char | short_opt | |||
) |
Set the short option character of a property.
key | The property key. | |
short_opt | Character used to indicate the value of a property given on the command line. |
ECORE_CONFIG_ERR_SUCC
on success. ECORE_CONFIG_ERR_NODATA
is returned if the property does not exist. EAPI const char* ecore_config_type_get | ( | const Ecore_Config_Prop * | e | ) |
Returns the type of the property.
e | Property to get the type of. |
EAPI int ecore_config_typed_set | ( | const char * | key, | |
const void * | val, | |||
int | type | |||
) |
Sets the indicated property to the given value and type.
key | The property key. | |
val | A pointer to the value to set the property to. | |
type | The type of the property. |
ECORE_CONFIG_ERR_SUCC
if the property is set successfully.