TIM SDK
TIM API C
vas_result.h File Reference

Description

Contains VAS result.

Object type vas_result.

Functions

ta_e_result_code_t ta_vas_result_create (ta_object_t *vas_result, ta_object_t vas_information_list)
 Create vas result. More...
 
ta_e_result_code_t ta_vas_result_get_vas_information_list (ta_object_t vas_result, ta_object_t *vas_information_list)
 List of VAS information lists. More...
 

Function Documentation

◆ ta_vas_result_create()

ta_e_result_code_t ta_vas_result_create ( ta_object_t vas_result,
ta_object_t  vas_information_list 
)

Create vas result.

Parameters
[out]vas_resultPointer to variable to write created object instance to. Created object instance is retained.
[in]vas_information_listObject instance is of type list and is retained. The list contains values of type vas_information_list.
Return values
ta_c_rc_okObject instance has been created and written to vas_result.
ta_c_rc_invalid_argumentvas_result is null-pointer.
ta_c_rc_invalid_argumentvas_information_list is ta_object_invalid.
ta_c_rc_invalid_argumentvas_information_list is not of type list.
ta_c_rc_out_of_memoryFailed allocating memory.

◆ ta_vas_result_get_vas_information_list()

ta_e_result_code_t ta_vas_result_get_vas_information_list ( ta_object_t  vas_result,
ta_object_t vas_information_list 
)

List of VAS information lists.

Parameters
[in]vas_resultObject instance of type vas_result.
[out]vas_information_listPointer to variable to write object instance to. Object instance is of type list and is not retained. The list contains entries of type vas_information_list. If list is not present ta_object_invalid is written.
Return values
ta_c_rc_okObject instance written to vas_information_lists.
ta_c_rc_invalid_argumentvas_result is ta_object_invalid.
ta_c_rc_invalid_argumentvas_result is not of type vas_result.
ta_c_rc_invalid_argumentvas_information_list is null-pointer.