@@ -19,32 +19,29 @@ extern "C" {
1919///
2020/// @brief Get value of a specified attribute at the given name.
2121/// @param name name of an attribute to be retrieved
22- /// @param ctx pointer to the pool or the provider
2322/// @param arg [out] pointer to the variable where the value will be stored
2423/// @param size size of the value, depends on the context
2524/// @return UMF_RESULT_SUCCESS on success or UMF_RESULT_ERROR_UNKNOWN on failure.
2625///
27- umf_result_t umfCtlGet (const char * name , void * ctx , void * arg , size_t size );
26+ umf_result_t umfCtlGet (const char * name , void * arg , size_t size , ... );
2827
2928///
3029/// @brief Set value of a specified attribute at the given name.
3130/// @param name name of an attribute to be set
32- /// @param ctx pointer to the pool or the provider, NULL for the 'default' path
3331/// @param arg [in] pointer to the value that will be set
3432/// @param size [in] size of the value, depends on the context
3533/// @return UMF_RESULT_SUCCESS on success or UMF_RESULT_ERROR_UNKNOWN on failure.
3634///
37- umf_result_t umfCtlSet (const char * name , void * ctx , void * arg , size_t size );
35+ umf_result_t umfCtlSet (const char * name , void * arg , size_t size , ... );
3836
3937///
4038/// @brief Execute callback related with the specified attribute.
4139/// @param name name of an attribute to be executed
42- /// @param ctx pointer to the pool or the provider
4340/// @param arg [in/out] pointer to the value, can be used as an input or output
4441/// @param size [in] size of the value, depends on the context
4542/// @return UMF_RESULT_SUCCESS on success or UMF_RESULT_ERROR_UNKNOWN on failure.
4643///
47- umf_result_t umfCtlExec (const char * name , void * ctx , void * arg , size_t size );
44+ umf_result_t umfCtlExec (const char * name , void * arg , size_t size , ... );
4845
4946#ifdef __cplusplus
5047}
0 commit comments