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
Code cleanup and partial modification to control code
[matches/MCTX3420.git]
/
server
/
data.h
diff --git
a/server/data.h
b/server/data.h
index
726af5c
..
a64d635
100644
(file)
--- a/
server/data.h
+++ b/
server/data.h
@@
-34,10
+34,9
@@
typedef enum
*/
typedef struct
{
*/
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
int num_points; // Number of DataPoints in the file
- c
onst c
har * filename; // Name of the file
+ char * filename; // Name of the file
pthread_mutex_t mutex; // Mutex around num_points
} DataFile;
pthread_mutex_t mutex; // Mutex around num_points
} DataFile;
UCC
git Repository :: git.ucc.asn.au