Function: destroy_subscribe_config
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Destroys data of the aclprofSubscribeConfig type created by calling acl.prof.create_subscribe_config.
Prototype
- C Prototype
1aclError aclprofDestroySubscribeConfig(const aclprofSubscribeConfig *profSubscribeConfig)
- Python Function
1ret = acl.prof.destroy_subscribe_config(subscribe_config)
Parameter Description
Parameter |
Description |
|---|---|
subscribe_config |
Int, address object of the aclprofSubscribeConfig type to be destroyed. |
Return Value Description
Return Value |
Description |
|---|---|
ret |
Int, error code.
|
Restrictions
- Use this API together with the acl.prof.create_subscribe_config API. Call acl.prof.create_subscribe_config first and then acl.prof.destroy_subscribe_config.
- If the same aclprofSubscribeConfig repeatedly calls the acl.prof.destroy_subscribe_config API, an error indicating that the memory is freed repeatedly is reported.
Parent topic: Subscription to Operator Information