Add semi working control code
[matches/MCTX3420.git] / server / data.h
index 9731a2d..07ede0b 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * @file datapoint.h
+ * @file data.h
  * @purpose Declaration of data handling functions; saving, loading, displaying, selecting.
  */
 
@@ -34,8 +34,7 @@ typedef enum
  */
 typedef struct
 {
-       FILE * read_file; // used for reading
-       FILE * write_file; // used for writing
+       FILE * file; // file pointer
        int num_points; // Number of DataPoints in the file
        char * filename; // Name of the file
        pthread_mutex_t mutex; // Mutex around num_points

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