aboutsummaryrefslogtreecommitdiff
path: root/include/odp.h
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2015-01-28 16:46:36 +0100
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-01-29 20:42:32 +0300
commitcb197cd973230fe765adc159ba82bd9edda0dd9f (patch)
tree9d75caf2e2804da37278c424b53cfc8e7371a93d /include/odp.h
parentc1b9f1d9fca5904f1eae8416a863bf151d53b523 (diff)
api: move generic API into the odp namespace
Move generic API into an api directory. Force the platform implementation to add its own header file that shall include the generic API header file. This splitup enables platform implementors to implement inline functions without modifying the "public" API files. Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-by: Balasubramanian Manoharan <bala.manoharan@linaro.org> Reviewed-by: Taras Kondratiuk <taras.kondratiuk@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'include/odp.h')
-rw-r--r--include/odp.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/include/odp.h b/include/odp.h
new file mode 100644
index 0000000..30bed8e
--- /dev/null
+++ b/include/odp.h
@@ -0,0 +1,57 @@
+/* Copyright (c) 2013, Linaro Limited
+ * All rights reserved
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+/**
+ * @file
+ *
+ * The OpenDataPlane API
+ *
+ */
+
+#ifndef ODP_H_
+#define ODP_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <odp/config.h>
+
+#include <odp/version.h>
+#include <odp/std_types.h>
+#include <odp/compiler.h>
+#include <odp/align.h>
+#include <odp/hints.h>
+#include <odp/debug.h>
+#include <odp/byteorder.h>
+#include <odp/cpumask.h>
+#include <odp/barrier.h>
+#include <odp/spinlock.h>
+#include <odp/atomic.h>
+#include <odp/init.h>
+#include <odp/system_info.h>
+#include <odp/thread.h>
+#include <odp/shared_memory.h>
+#include <odp/buffer.h>
+#include <odp/pool.h>
+#include <odp/queue.h>
+#include <odp/ticketlock.h>
+#include <odp/time.h>
+#include <odp/timer.h>
+#include <odp/schedule.h>
+#include <odp/sync.h>
+#include <odp/packet.h>
+#include <odp/packet_flags.h>
+#include <odp/packet_io.h>
+#include <odp/crypto.h>
+#include <odp/classification.h>
+#include <odp/rwlock.h>
+#include <odp/event.h>
+
+#ifdef __cplusplus
+}
+#endif
+#endif