native_huks_param.h
Overview
Provides APIs for constructing, using, and destroying parameter sets.
Since: 9
Related Modules:
Summary
Functions
Name | Description |
---|---|
OH_Huks_InitParamSet (struct OH_Huks_ParamSet **paramSet) | Initializes a parameter set. |
OH_Huks_AddParams (struct OH_Huks_ParamSet *paramSet, const struct OH_Huks_Param *params, uint32_t paramCnt) | Adds parameters to a parameter set. |
OH_Huks_BuildParamSet (struct OH_Huks_ParamSet **paramSet) | Constructs a parameter set. |
OH_Huks_FreeParamSet (struct OH_Huks_ParamSet **paramSet) | Destroys a parameter set. |
OH_Huks_CopyParamSet (const struct OH_Huks_ParamSet *fromParamSet, uint32_t fromParamSetSize, struct OH_Huks_ParamSet **paramSet) | Copies a parameter set (deep copy). |
OH_Huks_GetParam (const struct OH_Huks_ParamSet *paramSet, uint32_t tag, struct OH_Huks_Param **param) | Obtains parameters from a parameter set. |
OH_Huks_FreshParamSet (struct OH_Huks_ParamSet *paramSet, bool isCopy) | Refreshes data of the Blob type in a parameter set. |
OH_Huks_isParamSetTagValid (const struct OH_Huks_ParamSet *paramSet) | Checks whether the parameters in a parameter set are valid. |
OH_Huks_isParamSetValid (const struct OH_Huks_ParamSet *paramSet, uint32_t size) | Checks whether a parameter set is of the valid size. |
OH_Huks_CheckParamMatch (const struct OH_Huks_Param *baseParam, const struct OH_Huks_Param *param) | Checks whether two parameters are the same. |