mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-11-01 18:58:20 +00:00
Add missing onlp_attribute_sw_denit().
This commit is contained in:
@@ -49,6 +49,14 @@ int onlp_attribute_sw_init(void);
|
||||
*/
|
||||
int onlp_attribute_hw_init(uint32_t flags);
|
||||
|
||||
/**
|
||||
* @brief Deinitialize the attribute subsystem.
|
||||
* @note The primary purpose of this API is to properly
|
||||
* deallocate any resources used by the module in order
|
||||
* faciliate detection of real resouce leaks.
|
||||
*/
|
||||
int onlp_attribute_sw_denit(void);
|
||||
|
||||
/**
|
||||
* @brief Determine whether the OID supports the given attribute.
|
||||
* @param oid The OID.
|
||||
|
||||
@@ -38,6 +38,11 @@ int onlp_attributei_sw_init(void);
|
||||
*/
|
||||
int onlp_attributei_hw_init(uint32_t flags);
|
||||
|
||||
/**
|
||||
* @brief Deinitialize the attribute subsystem.
|
||||
*/
|
||||
int onlp_attributei_sw_denit(void);
|
||||
|
||||
/**
|
||||
* @brief Determine whether the OID supports the given attributei.
|
||||
* @param oid The OID.
|
||||
|
||||
@@ -47,6 +47,13 @@ onlp_attribute_hw_init_locked__(uint32_t flags)
|
||||
}
|
||||
ONLP_LOCKED_API1(onlp_attribute_hw_init, uint32_t, flags)
|
||||
|
||||
static int
|
||||
onlp_attribute_sw_denit_locked__(void)
|
||||
{
|
||||
return onlp_attributei_sw_denit();
|
||||
}
|
||||
ONLP_LOCKED_API0(onlp_attribute_sw_denit)
|
||||
|
||||
/**
|
||||
* @brief Determine whether the OID supports the given attribute.
|
||||
* @param oid The OID.
|
||||
|
||||
Reference in New Issue
Block a user