29 #ifndef __ONLP_GENERIC_H__ 30 #define __ONLP_GENERIC_H__ 33 #include <onlp/onlp.h> 34 #include <onlplib/onie.h> 35 #include <onlplib/pi.h> onlp Configuration Header
int onlp_generic_sw_init(void)
Initialize the module software module.
struct onlp_generic_info_s onlp_generic_info_t
Generic OID Information Structure.
uint32_t onlp_oid_t
Definition: oids.h:52
int onlp_generic_info_to_user_json(onlp_generic_info_t *info, cJSON **cj, uint32_t flags)
Convert a generic info structure to user JSON.
int onlp_generic_info_get(onlp_oid_t oid, onlp_generic_info_t *info)
Get the module info structure.
onlp_oid_hdr_t hdr
Definition: generic.h:43
Generic OID Information Structure.
Definition: generic.h:41
int onlp_generic_sw_denit(void)
Deinitialize the generic software module.
int onlp_generic_hw_init(uint32_t flags)
Initialize the module.
int onlp_generic_hdr_get(onlp_oid_t oid, onlp_oid_hdr_t *hdr)
Get the generic header structure.
int onlp_generic_info_to_json(onlp_generic_info_t *info, cJSON **cj, uint32_t flags)
Convert a generic info structure to JSON.
int onlp_generic_info_from_json(cJSON *cj, onlp_generic_info_t *info)
Convert a JSON object to a generic info structure.