*/
-
#ifndef _SENSOR_H
#define _SENSOR_H
-#include "common.h"
-
/** Number of data points to keep in sensor buffers **/
#define SENSOR_DATABUFSIZ 10
+#define SENSOR_QUERYBUFSIZ 10
/** Number of sensors **/
#define NUMSENSORS 1
extern int Sensor_Query(Sensor * s, DataPoint * buffer, int bufsiz); // fill buffer with sensor data
+extern void Sensor_Handler(FCGIContext *context, char * params);
+
#endif //_SENSOR_H