ONLP
Open Network Linux Platform APIs
Functions
attributei.h File Reference

Attribute Interface. More...

#include <onlp/attribute.h>
#include <onlp/onlp.h>

Go to the source code of this file.

Functions

int onlp_attributei_sw_init (void)
 Initialize the attribute subsystem.
 
int onlp_attributei_hw_init (uint32_t flags)
 Initialize the attribute subsystem.
 
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. More...
 
int onlp_attributei_set (onlp_oid_t oid, const char *attribute, void *value)
 Set an attribute on the given OID. More...
 
int onlp_attributei_get (onlp_oid_t oid, const char *attribute, void **value)
 Get an attribute from the given OID. More...
 
int onlp_attributei_free (onlp_oid_t oid, const char *attribute, void *value)
 Free an attribute value returned from onlp_attributei_get(). More...
 
int onlp_attributei_onie_info_get (onlp_oid_t oid, onlp_onie_info_t *rv)
 Get an OID's ONIE attribute. More...
 
int onlp_attributei_asset_info_get (onlp_oid_t oid, onlp_asset_info_t *rv)
 Get an OID's Asset attribute. More...
 

Detailed Description

Attribute Interface.