aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cfuns.h3
-rw-r--r--src/include/open-axiom.h5
2 files changed, 7 insertions, 1 deletions
diff --git a/src/include/cfuns.h b/src/include/cfuns.h
index 99929a69..4d0a8f05 100644
--- a/src/include/cfuns.h
+++ b/src/include/cfuns.h
@@ -4,7 +4,7 @@
/*
Copyright (C) 1991-2002, The Numerical ALgorithms Group Ltd.
All rights reserved.
- Copyright (C) 2007-2008, Gabriel Dos Reis.
+ Copyright (C) 2007-2009, Gabriel Dos Reis.
All rights resrved.
Redistribution and use in source and binary forms, with or without
@@ -65,6 +65,7 @@ OPENAXIOM_EXPORT int oa_copy_file(const char*, const char*);
OPENAXIOM_EXPORT double plus_infinity(void);
OPENAXIOM_EXPORT double minus_infinity(void);
OPENAXIOM_EXPORT double NANQ(void);
+OPENAXIOM_EXPORT openaxiom_byteorder oa_get_host_byteorder(void);
#ifdef __cplusplus
diff --git a/src/include/open-axiom.h b/src/include/open-axiom.h
index d4790120..b27c9ea3 100644
--- a/src/include/open-axiom.h
+++ b/src/include/open-axiom.h
@@ -79,6 +79,11 @@ extern "C" {
# define OPENAXIOM_HAVE_GRAPHICS 1
#endif
+/* Byte order enumeration. */
+typedef enum openaxiom_byteorder {
+ oa_unknown_endian, oa_little_endian, oa_big_endian
+} openaxiom_byteorder;
+
/* Return the address of the data buffer `BUF'. */