Data Structures | |
struct | _variant_value |
Variant value structure. More... | |
Typedefs | |
typedef _variant_value | VARIANT_VALUE |
Variant value structure. | |
Enumerations | |
enum | VariantType { VARIANT_TYPE_UNKNOWN = 0, VARIANT_TYPE_STRING, VARIANT_TYPE_MULTI_STRING, VARIANT_TYPE_SIGNED_INTEGER, VARIANT_TYPE_UNSIGNED_INTEGER, VARIANT_TYPE_SIGNED_SHORT, VARIANT_TYPE_UNSIGNED_SHORT, VARIANT_TYPE_FLOAT, VARIANT_TYPE_DOUBLE, VARIANT_TYPE_CHAR, VARIANT_TYPE_BINARY_B64 } |
Functions | |
void | variantSet (enum VariantType type, void *value, unsigned long valueSize, void *userParam, void(*setter)(void *userParam, const char *string)) |
void * | variantGet (enum VariantType type, const char *string) |
void | variantFree (VARIANT_VALUE *value) |
|
Variant value structure. This structure is used for returning values from variantGet that do not fit within 4 bytes. |
|
|
Deallocates the variant value passed in. This is used to clean up memory returned from variantGet for some types.
|
|
Returns the variant value associated with the string. The return values expected for each type are:
|
|
Converts the raw data passed in to a string and passes it to the 'setter' callback.
|