sensors protected by pthread mutex instead of g_mutex
[psensor.git] / src / lib / slog.h
index 5d5b1e8..f2a1505 100644 (file)
 #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 **);
+bool slog_activate(const char *, struct psensor **, pthread_mutex_t *, int s);
 void slog_close();
 
 #endif