aclprofDestroySubscribeConfig

Description

Destroys data of the aclprofSubscribeConfig type created by the aclprofCreateSubscribeConfig call.

Restrictions

  • Use this API together with the aclprofCreateSubscribeConfig API. Call aclprofCreateSubscribeConfig first and then aclprofDestroySubscribeConfig.
  • If the same aclprofSubscribeConfig pointer repeatedly calls the aclprofDestroySubscribeConfig API, an error indicating that the memory is freed repeatedly is reported.

Prototype

aclError aclprofDestroySubscribeConfig(const aclprofSubscribeConfig *profSubscribeConfig)

Parameters

Parameter

Input/Output

Description

profSubscribeConfig

Input

Pointer to data of the aclprofSubscribeConfig type.

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.