aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-01-19 20:31:15 +0100
committerMartin Braun <martin.braun@ettus.com>2015-01-19 20:31:15 +0100
commitadb20365db6dec7c7a4e23cd8b2feb78e83a7a33 (patch)
tree07b8ba0fdcd0ed1e5308d73852fc7bb5ce0b4770 /host/include
parent9e6ff291b464f7ae7cbc7abfe29b34550badeb74 (diff)
parent2a49dbbc8acdd601eb4d541b43bcfa6724333785 (diff)
downloaduhd-adb20365db6dec7c7a4e23cd8b2feb78e83a7a33.tar.gz
uhd-adb20365db6dec7c7a4e23cd8b2feb78e83a7a33.tar.bz2
uhd-adb20365db6dec7c7a4e23cd8b2feb78e83a7a33.zip
Merge branch 'maint'
Conflicts: host/include/uhd/types/CMakeLists.txt
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/types/CMakeLists.txt1
-rw-r--r--host/include/uhd/types/endianness.hpp32
2 files changed, 33 insertions, 0 deletions
diff --git a/host/include/uhd/types/CMakeLists.txt b/host/include/uhd/types/CMakeLists.txt
index 444ff71ae..553bb9529 100644
--- a/host/include/uhd/types/CMakeLists.txt
+++ b/host/include/uhd/types/CMakeLists.txt
@@ -22,6 +22,7 @@ UHD_INSTALL(FILES
dict.ipp
dict.hpp
direction.hpp
+ endianness.hpp
io_type.hpp
mac_addr.hpp
metadata.hpp
diff --git a/host/include/uhd/types/endianness.hpp b/host/include/uhd/types/endianness.hpp
new file mode 100644
index 000000000..e309de665
--- /dev/null
+++ b/host/include/uhd/types/endianness.hpp
@@ -0,0 +1,32 @@
+//
+// Copyright 2014 Ettus Research LLC
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+#ifndef INCLUDED_UHD_TYPES_ENDIANNESS_HPP
+#define INCLUDED_UHD_TYPES_ENDIANNESS_HPP
+
+#include <uhd/config.hpp>
+
+namespace uhd{
+
+ enum endianness_t {
+ ENDIANNESS_BIG,
+ ENDIANNESS_LITTLE
+ };
+
+} //namespace uhd
+
+#endif /* INCLUDED_UHD_TYPES_ENDIANNESS_HPP */