Merge branch 'master' of https://github.com/szmoore/MCTX3420.git
[matches/MCTX3420.git] / server / sensor.h
index 36fdb27..dd919f9 100644 (file)
@@ -62,6 +62,8 @@ typedef struct
        long points_written;
        /** Binary file to write data into when buffer is full **/
        FILE * file;
+       /** Number of data points stored in file **/
+       long points_stored;
        /** Thread running the sensor **/
        pthread_t thread;
        /** Mutex to protect access to stuff **/
@@ -81,5 +83,6 @@ extern int Sensor_Query(Sensor * s, DataPoint * buffer, int bufsiz); // fill buf
 
 extern void Sensor_Handler(FCGIContext *context, char * params);
 
+extern void Sensor_Handler2(FCGIContext *context, char *params);
 #endif //_SENSOR_H
 

UCC git Repository :: git.ucc.asn.au