X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fdata.h;h=a64d635400a31dff1b73ab1b04d2bca1cf79914d;hb=54d8526bce34af6b0d3a08c84e9d0bdfa6963224;hp=e52dadc6236e6ab7bcca514525675b0388725c16;hpb=fa6b29f87b5014334d604012fb4a9201e6227c5b;p=matches%2FMCTX3420.git diff --git a/server/data.h b/server/data.h index e52dadc..a64d635 100644 --- a/server/data.h +++ b/server/data.h @@ -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