/*
- * 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
#ifndef _PSENSOR_SLOG_H_
#define _PSENSOR_SLOG_H_
+#include <pthread.h>
+
#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