|
ONLP
Open Network Linux Platform APIs
|
Attributes. More...
Go to the source code of this file.
Macros | |
| #define | ONLP_ATTRIBUTE_EQUALS(_a, _b) (!strcmp(_a, _b)) |
| Attribute comparitor. | |
Functions | |
| int | onlp_attribute_sw_init (void) |
| Initialize the attribute subsystem. More... | |
| int | onlp_attribute_hw_init (uint32_t flags) |
| Hardware initialization of the attribute subsystem. More... | |
| int | onlp_attribute_sw_denit (void) |
| Deinitialize the attribute subsystem. More... | |
| int | onlp_attribute_supported (onlp_oid_t oid, const char *attribute) |
| Determine whether the OID supports the given attribute. More... | |
| int | onlp_attribute_set (onlp_oid_t oid, const char *attribute, void *value) |
| Set an attribute on the given OID. More... | |
| int | onlp_attribute_get (onlp_oid_t oid, const char *attribute, void **value) |
| Get an attribute from the given OID. More... | |
| int | onlp_attribute_free (onlp_oid_t oid, const char *attribute, void *value) |
| Free an attribute value returned from onlp_attribute_get(). More... | |
| int | onlp_attribute_onie_info_get (onlp_oid_t oid, onlp_onie_info_t **rp) |
| Request the ONIE attribute. More... | |
| int | onlp_attribute_onie_info_free (onlp_oid_t oid, onlp_onie_info_t *p) |
| Free an ONIE attribute pointer. More... | |
| int | onlp_attribute_onie_info_get_json (onlp_oid_t oid, cJSON **rp) |
| Request the ONIE attribute in JSON. More... | |
| int | onlp_attribute_onie_info_show (onlp_oid_t oid, aim_pvs_t *pvs) |
| Show the ONIE attribute. More... | |
| int | onlp_attribute_onie_info_show_json (onlp_oid_t oid, aim_pvs_t *pvs) |
| Show the ONIE attribute (JSON) More... | |
| int | onlp_attribute_asset_info_get (onlp_oid_t oid, onlp_asset_info_t **rp) |
| Determine if the ONIE attribute is supported. More... | |
| int | onlp_attribute_asset_info_free (onlp_oid_t oid, onlp_asset_info_t *p) |
| Free an asset attribute pointer. More... | |
| int | onlp_attribute_asset_info_get_json (onlp_oid_t oid, cJSON **rp) |
| Request the asset attribute in JSON. More... | |
| int | onlp_attribute_asset_info_show (onlp_oid_t oid, aim_pvs_t *pvs) |
| Show the asset attribute. More... | |
| int | onlp_attribute_asset_info_show_json (onlp_oid_t oid, aim_pvs_t *pvs) |
| Show the asset attribute (JSON). More... | |
Attributes.
1.8.13