X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fnvidia.h;h=1aafe6917e4d3e47cc09aff3d7008f90830e78b4;hb=06a780020823612636aff82034336588cc0f7a7a;hp=8936e53c637db2a29cf3ba9aef957153be39687b;hpb=598ee802fa065a6cf0e36abb0f5faa46bd3746c0;p=psensor.git diff --git a/src/lib/nvidia.h b/src/lib/nvidia.h index 8936e53..1aafe69 100644 --- a/src/lib/nvidia.h +++ b/src/lib/nvidia.h @@ -22,20 +22,16 @@ #include "psensor.h" -int nvidia_get_sensor_temp(struct psensor *); - -struct psensor *nvidia_create_sensor(int id, int values_max_length); - -int nvidia_init(); - +/* + Updates temperatures of NVidia sensors. +*/ void nvidia_psensor_list_update(struct psensor **sensors); - /* Adds NVIDIA sensors to a given list of sensors. - Returns the new allocated list of sensors if sensors have been added otherwise - returns 'sensors'. The list is 'NULL' terminated. + Returns the new allocated list of sensors if sensors have been added + otherwise returns 'sensors'. The list is 'NULL' terminated. */ struct psensor **nvidia_psensor_list_add(struct psensor **sensors, int values_max_length);