projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rewrite system file reader code, to clean up and improve.
[pspp-builds.git]
/
src
/
data
/
sys-file-reader.h
diff --git
a/src/data/sys-file-reader.h
b/src/data/sys-file-reader.h
index 68e6e84ec54497f95a68818187c11f8a5de84fd1..92a304829ca827b12dca5fb7bf8989cffa723ad3 100644
(file)
--- a/
src/data/sys-file-reader.h
+++ b/
src/data/sys-file-reader.h
@@
-23,6
+23,9
@@
#include <stdbool.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdio.h>
+#include <libpspp/float-format.h>
+#include <libpspp/integer-format.h>
+
/* Reading system files. */
/* System file info that doesn't fit in struct dictionary. */
/* Reading system files. */
/* System file info that doesn't fit in struct dictionary. */
@@
-30,8
+33,9
@@
struct sfm_read_info
{
char creation_date[10]; /* `dd mmm yy' plus a null. */
char creation_time[9]; /* `hh:mm:ss' plus a null. */
{
char creation_date[10]; /* `dd mmm yy' plus a null. */
char creation_time[9]; /* `hh:mm:ss' plus a null. */
- int big_endian; /* 1=big-endian, 0=little-endian. */
- int compressed; /* 0=no, 1=yes. */
+ enum integer_format integer_format;
+ enum float_format float_format;
+ bool compressed; /* 0=no, 1=yes. */
int case_cnt; /* -1 if unknown. */
char product[61]; /* Product name plus a null. */
};
int case_cnt; /* -1 if unknown. */
char product[61]; /* Product name plus a null. */
};