X-Git-Url: http://wpitchoune.net/gitweb/?p=psensor-pkg-debian.git;a=blobdiff_plain;f=src%2Flib%2Flmsensor.h;h=341863d6f63128ee2e61b477a5c2fac6fb139070;hp=d9e5787549694c0c5e9db68d9fbc65901b4fe727;hb=48da1ac5531838d157762882ee455cec4da05728;hpb=dcd813f21c83592155f712ff1acf450b483d8072 diff --git a/src/lib/lmsensor.h b/src/lib/lmsensor.h index d9e5787..341863d 100644 --- a/src/lib/lmsensor.h +++ b/src/lib/lmsensor.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2013 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,20 +19,10 @@ #ifndef _PSENSOR_LMSENSOR_H_ #define _PSENSOR_LMSENSOR_H_ -#include - void lmsensor_psensor_list_update(struct psensor **sensors); -/* - Adds 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. - */ -struct psensor **lmsensor_psensor_list_add(struct psensor **sensors, - int values_max_length); +void lmsensor_psensor_list_append(struct psensor ***sensors, int values_length); -void lmsensor_init(); void lmsensor_cleanup(); #endif