TIM SDK
TIM API C
vas_information_list.h File Reference

Description

Contains VAS information list.

Object type vas_information_list.

Functions

ta_e_result_code_t ta_vas_information_list_create (ta_object_t *vas_information_list, ta_e_vas_info_list_type_t vas_info_list_type, ta_object_t vas_information)
 Create vas information list. More...
 
ta_e_result_code_t ta_vas_information_list_get_vas_info_list_type (ta_object_t vas_information_list, ta_e_vas_info_list_type_t *type)
 VAS information list type. More...
 
ta_e_result_code_t ta_vas_information_list_get_vas_information (ta_object_t vas_information_list, ta_object_t *vas_information)
 Map of VAS information. More...
 

Function Documentation

◆ ta_vas_information_list_create()

ta_e_result_code_t ta_vas_information_list_create ( ta_object_t vas_information_list,
ta_e_vas_info_list_type_t  vas_info_list_type,
ta_object_t  vas_information 
)

Create vas information list.

Parameters
[out]vas_information_listPointer to variable to write created object instance to. Created object instance is retained.
[in]vas_info_list_typeVas information list type.
[in]vas_informationObject instance is of type map and is retained. The map contains keys of type integer and values of type string (binary data).
Return values
ta_c_rc_okObject instance has been created and written to vas_information_list.
ta_c_rc_invalid_argumentvas_information_list is null-pointer.
ta_c_rc_invalid_argumentvas_information is ta_object_invalid.
ta_c_rc_invalid_argumentvas_information is not of type map.
ta_c_rc_out_of_memoryFailed allocating memory.

◆ ta_vas_information_list_get_vas_info_list_type()

ta_e_result_code_t ta_vas_information_list_get_vas_info_list_type ( ta_object_t  vas_information_list,
ta_e_vas_info_list_type_t type 
)

VAS information list type.

Parameters
[in]vas_information_listObject instance of type vas_information_list.
[out]typePointer to variable to write type to.
Return values
ta_c_rc_okObject instance written to vas_informations.
ta_c_rc_invalid_argumentvas_information_list is ta_object_invalid.
ta_c_rc_invalid_argumentvas_information_list is not of type vas_information_list.
ta_c_rc_invalid_argumenttype is null-pointer.

◆ ta_vas_information_list_get_vas_information()

ta_e_result_code_t ta_vas_information_list_get_vas_information ( ta_object_t  vas_information_list,
ta_object_t vas_information 
)

Map of VAS information.

Parameters
[in]vas_information_listObject instance of type vas_information_list.
[out]vas_informationPointer to variable to write object instance to. Object instance is of type map and is not retained. The map contains keys of type integer and values of type string (binary data). If list is not present ta_object_invalid is written.
Return values
ta_c_rc_okObject instance written to vas_informations.
ta_c_rc_invalid_argumentvas_information_list is ta_object_invalid.
ta_c_rc_invalid_argumentvas_information_list is not of type vas_information_list.
ta_c_rc_invalid_argumentvas_information is null-pointer.