27 #ifndef __ST_THINGS_TYPES_H__ 28 #define __ST_THINGS_TYPES_H__
bool(* set_object_value)(struct _st_things_representation *rep, const char *key, const struct _st_things_representation *value)
API for setting the value of object type property with a key.
bool(* set_object_array_value)(struct _st_things_representation *rep, const char *key, const struct _st_things_representation **array, size_t length)
API for setting the value of object array type property with a key.
bool(* has_property_key)(struct _st_things_get_request_message *req_msg, const char *key)
API for checking whether the request has a specific property key or not.
bool(* set_int_array_value)(struct _st_things_representation *rep, const char *key, const int64_t *array, size_t length)
API for setting the value of integer array type property with a key.
struct _st_things_set_request_message st_things_set_request_message_s
Structure for representing the Set Request Message.
struct _st_things_representation * rep
struct _st_things_representation st_things_representation_s
Structure for Representation.
bool(* set_byte_value)(struct _st_things_representation *rep, const char *key, const uint8_t *value, size_t size)
API for setting the value of byte array type property with a key.
bool(* get_double_value)(struct _st_things_representation *rep, const char *key, double *value)
API for getting the value of double type property with a key.
bool(* get_str_value)(struct _st_things_representation *rep, const char *key, char **value)
API for getting the value of string type property with a key.
bool(* set_double_value)(struct _st_things_representation *rep, const char *key, double value)
API for setting the value of double type property with a key.
bool(* get_str_array_value)(struct _st_things_representation *rep, const char *key, char ***array, size_t *length)
API for getting the value of string array type property with a key.
bool(* get_int_array_value)(struct _st_things_representation *rep, const char *key, int64_t **array, size_t *length)
API for getting the value of integer array type property with a key.
bool(* get_double_array_value)(struct _st_things_representation *rep, const char *key, double **array, size_t *length)
API for getting the value of double array type property with a key.
bool(* get_int_value)(struct _st_things_representation *rep, const char *key, int64_t *value)
API for getting the value of integer type property with a key.
struct _st_things_get_request_message st_things_get_request_message_s
Structure for representing the Get Request Message.
bool(* get_object_array_value)(struct _st_things_representation *rep, const char *key, struct _st_things_representation ***array, size_t *length)
API for getting the value of object array type property with a key.
bool(* set_str_array_value)(struct _st_things_representation *rep, const char *key, const char **array, size_t length)
API for setting the value of string array type property with a key.
Structure for Representation.
Structure for representing the Set Request Message.
bool(* set_bool_value)(struct _st_things_representation *rep, const char *key, bool value)
API for setting the value of boolean type property with a key.
bool(* get_bool_value)(struct _st_things_representation *rep, const char *key, bool *value)
API for getting the value of boolean type property with a key.
st_things_error_e
Enumeration for ST Things error code.
Structure for representing the Get Request Message.
bool(* set_str_value)(struct _st_things_representation *rep, const char *key, const char *value)
API for setting the value of string type property with a key.
st_things_status_e
Enumeration for ST Things status.
bool(* set_double_array_value)(struct _st_things_representation *rep, const char *key, const double *array, size_t length)
API for setting the value of double array type property with a key.
bool(* set_int_value)(struct _st_things_representation *rep, const char *key, int64_t value)
API for setting the value of integer type property with a key.
bool(* get_object_value)(struct _st_things_representation *rep, const char *key, struct _st_things_representation **value)
API for getting the value of object type property with a key.
bool(* get_byte_value)(struct _st_things_representation *rep, const char *key, uint8_t **value, size_t *size)
API for getting the value of byte array type property with a key.