thermali_hdr_get is required.

This commit is contained in:
Jeffrey Townsend
2018-08-07 23:58:31 +00:00
parent 3bc26dec15
commit edc7c652b8

View File

@@ -82,3 +82,10 @@ onlp_thermali_info_get(onlp_oid_id_t id, onlp_thermal_info_t* info)
return onlp_file_read_int(&info->mcelsius, devfiles__[id]);
}
}
int
onlp_thermali_hdr_get(onlp_oid_id_t id, onlp_oid_hdr_t* hdr)
{
*hdr = thermal_info_table__[id].hdr;
return 0;
}