git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://github.com/szmoore/MCTX3420.git
[matches/MCTX3420.git]
/
server
/
sensor.h
diff --git
a/server/sensor.h
b/server/sensor.h
index
36fdb27
..
dd919f9
100644
(file)
--- a/
server/sensor.h
+++ b/
server/sensor.h
@@
-62,6
+62,8
@@
typedef struct
long points_written;
/** Binary file to write data into when buffer is full **/
FILE * file;
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 **/
/** 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_Handler(FCGIContext *context, char * params);
+extern void Sensor_Handler2(FCGIContext *context, char *params);
#endif //_SENSOR_H
#endif //_SENSOR_H
UCC
git Repository :: git.ucc.asn.au