X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=src%2Flib%2Fslog.h;h=4a39461aed8bf3c7bc940cd9f21afbe5206b96d8;hp=5d5b1e89433564f6ef6404e09855cbbfa5b63289;hb=c1e20f2631a1249720e9c75d753eacfcb0f6c7b9;hpb=fb3b77c1b0f2a1d461b18580497c1ab4a6d6616c diff --git a/src/lib/slog.h b/src/lib/slog.h index 5d5b1e8..4a39461 100644 --- a/src/lib/slog.h +++ b/src/lib/slog.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,10 +19,11 @@ #ifndef _PSENSOR_SLOG_H_ #define _PSENSOR_SLOG_H_ +#include + #include "psensor.h" -int slog_init(const char *, struct psensor **); -void slog_write_sensors(struct psensor **); -void slog_close(); +bool slog_activate(const char *, struct psensor **, pthread_mutex_t *, int s); +void slog_close(void); #endif