blob: 0e0991c2e1e5e077ff7db5692fd5b224abec7050 [file] [log] [blame]
Norman Jamese7594922015-08-27 14:25:24 -05001#ifndef __SENSOR_THRESHOLDS_H__
2#define __SENSOR_THRESHOLDS_H__
3
4#include <stdint.h>
5
6typedef enum { NOT_SET,NORMAL,LOWER_CRITICAL,LOWER_WARNING,UPPER_WARNING,UPPER_CRITICAL } threshold_states;
7
8gboolean get_threshold_state(SensorIntegerThreshold*,
9 GDBusMethodInvocation*,gpointer);
10
11gboolean set_thresholds(SensorIntegerThreshold*,
12 GDBusMethodInvocation*,guint,guint,guint,guint,gpointer);
13void check_thresholds(SensorIntegerThreshold*,guint);
14
15
16#endif