typedef struct EVT_ChangeConfigParm {
int type;
char *name;
union {
int integer;
int boolean;
char *utf8Str;
struct {
int size;
unsigned char* data;
} binary;
} value;
} EVT_ChangeConfigParm;
indicates the type of the configuration parameters data.
name of the configuration parameter.
If the value of type is EVT_CFG_TYPE_INT, this contains the integer value of the configuration parameter. This value is accessed using a pointer to the integer, such as data -> value.integer.
If the value of type is EVT_CFG_TYPE_BOOLEAN, this contains the boolean value of the configuration parameter (0 = false, 1 = true). This value is accessed using a pointer to the boolean, such as data -> value.boolean.
If the value of type is EVT_CFG_TYPE_STRING, this contains a pointer to the utf-8 string value of the configuration parameter. This value is accessed using a pointer to the string, such as data -> value.utf8str.
If the value of type is EVT_CFG_TYPE_BINARY, this contains the number of bytes in the value of the configuration parameter. This value is accessed using a pointer to the size, such as data -> value.binary.size.
If the value of type is EVT_CFG_TYPE_BINARY, this contains a pointer to an arry of the bytes in the value of the configuration parameter. This value is accessed using a pointer to the array, such as data -> value.binary.data.