aboutsummaryrefslogtreecommitdiff
path: root/include/odp_api.h
diff options
context:
space:
mode:
authorChristophe Milard <christophe.milard@linaro.org>2016-02-11 15:21:42 +0100
committerMaxim Uvarov <maxim.uvarov@linaro.org>2016-02-11 21:35:13 +0300
commitaf2001b65f1c9b1475f6c54f8d8dff8f7091625c (patch)
treec0e4da14ebd7eebffc1edf13fe033d9a2dcf7882 /include/odp_api.h
parent5595fd94756d606d3fca13aa79c1e66ece0d9f23 (diff)
api: move include/odp.h to include/odp_api.h
odp.h actually describes the applicatiion interface of ODP and is logicaly moved to odp_api.h. Applications now includes <odp_api.h>. This simplifies the addition of other ODP interfaces (e.g. drivers may include odp_drv.h in the future.) Signed-off-by: Christophe Milard <christophe.milard@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'include/odp_api.h')
-rw-r--r--include/odp_api.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/include/odp_api.h b/include/odp_api.h
new file mode 100644
index 000000000..44b67ee1f
--- /dev/null
+++ b/include/odp_api.h
@@ -0,0 +1,66 @@
+/* Copyright (c) 2013, Linaro Limited
+ * All rights reserved
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+/**
+ * @file
+ *
+ * The OpenDataPlane API
+ *
+ */
+
+#ifndef ODP_API_H_
+#define ODP_API_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <odp/api/config.h>
+
+#include <odp/api/version.h>
+#include <odp/api/std_types.h>
+#include <odp/api/compiler.h>
+#include <odp/api/align.h>
+#include <odp/api/hash.h>
+#include <odp/api/hints.h>
+#include <odp/api/debug.h>
+#include <odp/api/byteorder.h>
+#include <odp/api/cpu.h>
+#include <odp/api/cpumask.h>
+#include <odp/api/barrier.h>
+#include <odp/api/spinlock.h>
+#include <odp/api/atomic.h>
+#include <odp/api/init.h>
+#include <odp/api/system_info.h>
+#include <odp/api/thread.h>
+#include <odp/api/shared_memory.h>
+#include <odp/api/buffer.h>
+#include <odp/api/pool.h>
+#include <odp/api/queue.h>
+#include <odp/api/ticketlock.h>
+#include <odp/api/time.h>
+#include <odp/api/timer.h>
+#include <odp/api/schedule.h>
+#include <odp/api/sync.h>
+#include <odp/api/packet.h>
+#include <odp/api/packet_flags.h>
+#include <odp/api/packet_io.h>
+#include <odp/api/crypto.h>
+#include <odp/api/classification.h>
+#include <odp/api/rwlock.h>
+#include <odp/api/event.h>
+#include <odp/api/random.h>
+#include <odp/api/errno.h>
+#include <odp/api/thrmask.h>
+#include <odp/api/traffic_mngr.h>
+#include <odp/api/spinlock_recursive.h>
+#include <odp/api/rwlock_recursive.h>
+#include <odp/api/std_clib.h>
+
+#ifdef __cplusplus
+}
+#endif
+#endif