summaryrefslogtreecommitdiff
path: root/src/lib/tng_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tng_io.h')
-rw-r--r--src/lib/tng_io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/tng_io.h b/src/lib/tng_io.h
index ec5971e..b2d07ff 100644
--- a/src/lib/tng_io.h
+++ b/src/lib/tng_io.h
@@ -255,6 +255,10 @@
__typeof__ (b) _b = (b); \
_a > _b ? _a : _b; })
+/** Flag to specify the endianness of a TNG file */
+typedef enum {TNG_BIG_ENDIAN,
+ TNG_LITTLE_ENDIAN} tng_file_endianness;
+
/** Flag to specify the endianness of 32 bit values of the current architecture.
* Output is always converted to big endian */
typedef enum {TNG_BIG_ENDIAN_32,
contact: Jan Huwald // Impressum