[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.2.4.1 Semi-typed configs

With these functions, no type checking is done; you can do cca_config_get_value_int on a config that was set with cca_config_set_value_float. The integer values are converted to and from network byte order as appropriate.

Function: uint32_t cca_config_get_value_int (const cca_config_t * config)

Function: float cca_config_get_value_float (const cca_config_t * config)

Function: double cca_config_get_value_double (const cca_config_t * config)

Function: const char * cca_config_get_value_string (const cca_config_t * config)

Function: void cca_config_set_value_int (cca_config_t * config, uint32_t value)

Function: void cca_config_set_value_float (cca_config_t * config, float value)

Function: void cca_config_set_value_double (cca_config_t * config, double value)

Function: void cca_config_set_value_string (cca_config_t * config, const char * value)



This document was generated on June, 25 2005 using texi2html