28 #ifndef __ONLP_ATTRIBUTEI_H__ 29 #define __ONLP_ATTRIBUTEI_H__ 32 #include <onlp/onlp.h> int onlp_attributei_hw_init(uint32_t flags)
Initialize the attribute subsystem.
uint32_t onlp_oid_t
Definition: oids.h:52
int onlp_attributei_sw_init(void)
Initialize the attribute subsystem.
int onlp_attributei_onie_info_get(onlp_oid_t oid, onlp_onie_info_t *rv)
Get an OID's ONIE attribute.
int onlp_attributei_free(onlp_oid_t oid, const char *attribute, void *value)
Free an attribute value returned from onlp_attributei_get().
int onlp_attributei_sw_denit(void)
Deinitialize the attribute subsystem.
int onlp_attributei_supported(onlp_oid_t oid, const char *attribute)
Determine whether the OID supports the given attributei.
int onlp_attributei_asset_info_get(onlp_oid_t oid, onlp_asset_info_t *rv)
Get an OID's Asset attribute.
This structure describes general asset information that may be associated with a particular OID...
Definition: stdattrs.h:40
int onlp_attributei_get(onlp_oid_t oid, const char *attribute, void **value)
Get an attribute from the given OID.
int onlp_attributei_set(onlp_oid_t oid, const char *attribute, void *value)
Set an attribute on the given OID.