X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fhdd.h;h=f7cbeb6e33aac4bed6174df62b5b3d26b21a3d4d;hb=7a7b46f5b74ea2bfbbcf7da5951b24efaed4b21f;hp=6c31800fea5f57bc23fbc44085a075ef341c62b9;hpb=af47d522aa7957879bd87a44a416bb25544ed9f5;p=psensor.git diff --git a/src/lib/hdd.h b/src/lib/hdd.h index 6c31800..f7cbeb6 100644 --- a/src/lib/hdd.h +++ b/src/lib/hdd.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2012 jeanfi@gmail.com + * Copyright (C) 2010-2014 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -19,11 +19,17 @@ #ifndef _PSENSOR_HDD_H_ #define _PSENSOR_HDD_H_ +#include "config.h" #include "psensor.h" -struct psensor **hdd_psensor_list_add(struct psensor **sensors, +#ifdef HAVE_ATASMART +void atasmart_psensor_list_append(struct psensor ***sensors, int values_length); +void atasmart_psensor_list_update(struct psensor **sensors); +#endif + +struct psensor **hddtemp_psensor_list_add(struct psensor **sensors, int values_max_length); -void hdd_psensor_list_update(struct psensor **sensors); +void hddtemp_psensor_list_update(struct psensor **sensors); #endif