X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fapcupsd.h;h=4097b5dcbd6d03f40f92d482c1c558a250bd47e3;hb=0b3fbed04520af4b228aa42723e02b5831f1d0c2;hp=bf9ea33657143df49ee6d2c7038e6edef9157d5a;hpb=8cb0027f450052cf639e2aa17bd5a79013df0892;p=monky diff --git a/src/apcupsd.h b/src/apcupsd.h index bf9ea33..4097b5d 100644 --- a/src/apcupsd.h +++ b/src/apcupsd.h @@ -1,4 +1,7 @@ -/* apcupsd.h: conky module for APC UPS daemon monitoring +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * vim: ts=4 sw=4 noet ai cindent syntax=c + * + * apcupsd.h: conky module for APC UPS daemon monitoring * * Copyright (C) 2009 Jaromir Smrcek * @@ -15,7 +18,9 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 - * USA. */ + * USA. + * + */ #ifndef APCUPSD_H_ #define APCUPSD_H_ @@ -44,9 +49,6 @@ typedef struct apcupsd_s { } APCUPSD_S, *PAPCUPSD_S; /* Service routine for the conky main thread */ -void update_apcupsd(void); - -/* fill in the default values */ -void init_apcupsd(void); +int update_apcupsd(void); #endif /*APCUPSD_H_*/