X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fdata.h;h=a64d635400a31dff1b73ab1b04d2bca1cf79914d;hb=a12a70d4f860bafb6268a20616fbaa4ca7694af6;hp=726af5c1244f519fe3877aa33283c6081231438b;hpb=bbd64b3c32d79d247c7535693aafa20a3baba6b8;p=matches%2FMCTX3420.git diff --git a/server/data.h b/server/data.h index 726af5c..a64d635 100644 --- a/server/data.h +++ b/server/data.h @@ -34,10 +34,9 @@ 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 - const char * filename; // Name of the file + char * filename; // Name of the file pthread_mutex_t mutex; // Mutex around num_points } DataFile;