X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fslog.h;fp=src%2Flib%2Fslog.h;h=5d5b1e89433564f6ef6404e09855cbbfa5b63289;hb=fb3b77c1b0f2a1d461b18580497c1ab4a6d6616c;hp=0000000000000000000000000000000000000000;hpb=9d461c538b7e6e8022b9e4692b03cec72f58ed00;p=psensor.git diff --git a/src/lib/slog.h b/src/lib/slog.h new file mode 100644 index 0000000..5d5b1e8 --- /dev/null +++ b/src/lib/slog.h @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2010-2012 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 + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA + */ +#ifndef _PSENSOR_SLOG_H_ +#define _PSENSOR_SLOG_H_ + +#include "psensor.h" + +int slog_init(const char *, struct psensor **); +void slog_write_sensors(struct psensor **); +void slog_close(); + +#endif