aboutsummaryrefslogtreecommitdiff
path: root/example
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-03-04 11:15:23 +0300
commit7c3df2a6486482f3a51ff897215ea28f64b7de97 (patch)
tree268daddb7ea584e7b6ed5ce487bc5b83e95cfb3d /example
parent98e20f0a78da6bf680ffbf473abc99b88d8576d9 (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 'example')
-rw-r--r--example/classifier/odp_classifier.c2
-rw-r--r--example/generator/odp_generator.c2
-rw-r--r--example/ipsec/odp_ipsec.c2
-rw-r--r--example/ipsec/odp_ipsec_cache.c2
-rw-r--r--example/ipsec/odp_ipsec_cache.h2
-rw-r--r--example/ipsec/odp_ipsec_fwd_db.c2
-rw-r--r--example/ipsec/odp_ipsec_fwd_db.h2
-rw-r--r--example/ipsec/odp_ipsec_loop_db.c2
-rw-r--r--example/ipsec/odp_ipsec_loop_db.h2
-rw-r--r--example/ipsec/odp_ipsec_misc.h2
-rw-r--r--example/ipsec/odp_ipsec_sa_db.c2
-rw-r--r--example/ipsec/odp_ipsec_sp_db.c2
-rw-r--r--example/ipsec/odp_ipsec_stream.c2
-rw-r--r--example/ipsec/odp_ipsec_stream.h2
-rw-r--r--example/packet/odp_pktio.c2
-rw-r--r--example/time/time_global_test.c2
-rw-r--r--example/timer/odp_timer_test.c2
17 files changed, 17 insertions, 17 deletions
diff --git a/example/classifier/odp_classifier.c b/example/classifier/odp_classifier.c
index 6e9203986..b1608a886 100644
--- a/example/classifier/odp_classifier.c
+++ b/example/classifier/odp_classifier.c
@@ -10,7 +10,7 @@
#include <unistd.h>
#include <example_debug.h>
-#include <odp.h>
+#include <odp_api.h>
#include <odp/helper/linux.h>
#include <odp/helper/eth.h>
#include <odp/helper/ip.h>
diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c
index 650007e22..0ba522438 100644
--- a/example/generator/odp_generator.c
+++ b/example/generator/odp_generator.c
@@ -17,7 +17,7 @@
#include <example_debug.h>
-#include <odp.h>
+#include <odp_api.h>
#include <odp/helper/linux.h>
#include <odp/helper/eth.h>
diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c
index 6134ab6a4..e4b0a2264 100644
--- a/example/ipsec/odp_ipsec.c
+++ b/example/ipsec/odp_ipsec.c
@@ -21,7 +21,7 @@
#include <example_debug.h>
-#include <odp.h>
+#include <odp_api.h>
#include <odp/helper/linux.h>
#include <odp/helper/eth.h>
diff --git a/example/ipsec/odp_ipsec_cache.c b/example/ipsec/odp_ipsec_cache.c
index 0883d4d4e..2bd44cf3e 100644
--- a/example/ipsec/odp_ipsec_cache.c
+++ b/example/ipsec/odp_ipsec_cache.c
@@ -9,7 +9,7 @@
#include <example_debug.h>
-#include <odp.h>
+#include <odp_api.h>
#include <odp/helper/ipsec.h>
diff --git a/example/ipsec/odp_ipsec_cache.h b/example/ipsec/odp_ipsec_cache.h
index 56be9d86b..7a4b95cd4 100644
--- a/example/ipsec/odp_ipsec_cache.h
+++ b/example/ipsec/odp_ipsec_cache.h
@@ -11,7 +11,7 @@
extern "C" {
#endif
-#include <odp.h>
+#include <odp_api.h>
#include <odp/helper/ipsec.h>
#include <odp_ipsec_misc.h>
diff --git a/example/ipsec/odp_ipsec_fwd_db.c b/example/ipsec/odp_ipsec_fwd_db.c
index 59cb6e42d..38fc2833a 100644
--- a/example/ipsec/odp_ipsec_fwd_db.c
+++ b/example/ipsec/odp_ipsec_fwd_db.c
@@ -14,7 +14,7 @@
#include <example_debug.h>
-#include <odp.h>
+#include <odp_api.h>
#include <odp_ipsec_fwd_db.h>
diff --git a/example/ipsec/odp_ipsec_fwd_db.h b/example/ipsec/odp_ipsec_fwd_db.h
index 9d7aa094c..0e2e9edeb 100644
--- a/example/ipsec/odp_ipsec_fwd_db.h
+++ b/example/ipsec/odp_ipsec_fwd_db.h
@@ -11,7 +11,7 @@
extern "C" {
#endif
-#include <odp.h>
+#include <odp_api.h>
#include <odp/helper/eth.h>
#include <odp_ipsec_misc.h>
diff --git a/example/ipsec/odp_ipsec_loop_db.c b/example/ipsec/odp_ipsec_loop_db.c
index ab0129bf4..1d5e404ee 100644
--- a/example/ipsec/odp_ipsec_loop_db.c
+++ b/example/ipsec/odp_ipsec_loop_db.c
@@ -9,7 +9,7 @@
#include <example_debug.h>
-#include <odp.h>
+#include <odp_api.h>
#include <odp_ipsec_loop_db.h>
diff --git a/example/ipsec/odp_ipsec_loop_db.h b/example/ipsec/odp_ipsec_loop_db.h
index 677f488d3..0778186fa 100644
--- a/example/ipsec/odp_ipsec_loop_db.h
+++ b/example/ipsec/odp_ipsec_loop_db.h
@@ -11,7 +11,7 @@
extern "C" {
#endif
-#include <odp.h>
+#include <odp_api.h>
#include <odp/helper/eth.h>
#include <odp_ipsec_misc.h>
diff --git a/example/ipsec/odp_ipsec_misc.h b/example/ipsec/odp_ipsec_misc.h
index e583c01a1..6a49dcb66 100644
--- a/example/ipsec/odp_ipsec_misc.h
+++ b/example/ipsec/odp_ipsec_misc.h
@@ -11,7 +11,7 @@
extern "C" {
#endif
-#include <odp.h>
+#include <odp_api.h>
#include <odp/helper/eth.h>
#include <odp/helper/ip.h>
#include <odp/helper/ipsec.h>
diff --git a/example/ipsec/odp_ipsec_sa_db.c b/example/ipsec/odp_ipsec_sa_db.c
index 8b2d2121b..28215b5b7 100644
--- a/example/ipsec/odp_ipsec_sa_db.c
+++ b/example/ipsec/odp_ipsec_sa_db.c
@@ -14,7 +14,7 @@
#include <example_debug.h>
-#include <odp.h>
+#include <odp_api.h>
#include <odp_ipsec_sa_db.h>
diff --git a/example/ipsec/odp_ipsec_sp_db.c b/example/ipsec/odp_ipsec_sp_db.c
index 48874eb08..ed631c7ba 100644
--- a/example/ipsec/odp_ipsec_sp_db.c
+++ b/example/ipsec/odp_ipsec_sp_db.c
@@ -14,7 +14,7 @@
#include <example_debug.h>
-#include <odp.h>
+#include <odp_api.h>
#include <odp_ipsec_sp_db.h>
diff --git a/example/ipsec/odp_ipsec_stream.c b/example/ipsec/odp_ipsec_stream.c
index 69bb3c7cf..4dc9acfee 100644
--- a/example/ipsec/odp_ipsec_stream.c
+++ b/example/ipsec/odp_ipsec_stream.c
@@ -19,7 +19,7 @@
#include <example_debug.h>
-#include <odp.h>
+#include <odp_api.h>
#include <odp/helper/eth.h>
#include <odp/helper/ip.h>
diff --git a/example/ipsec/odp_ipsec_stream.h b/example/ipsec/odp_ipsec_stream.h
index 12e368cf0..ea480c32d 100644
--- a/example/ipsec/odp_ipsec_stream.h
+++ b/example/ipsec/odp_ipsec_stream.h
@@ -11,7 +11,7 @@
extern "C" {
#endif
-#include <odp.h>
+#include <odp_api.h>
#include <odp_ipsec_misc.h>
#include <odp_ipsec_cache.h>
diff --git a/example/packet/odp_pktio.c b/example/packet/odp_pktio.c
index adabc03b5..579f3fbdb 100644
--- a/example/packet/odp_pktio.c
+++ b/example/packet/odp_pktio.c
@@ -11,7 +11,7 @@
#include <example_debug.h>
-#include <odp.h>
+#include <odp_api.h>
#include <odp/helper/linux.h>
#include <odp/helper/eth.h>
#include <odp/helper/ip.h>
diff --git a/example/time/time_global_test.c b/example/time/time_global_test.c
index 7cfd96990..16dda4c32 100644
--- a/example/time/time_global_test.c
+++ b/example/time/time_global_test.c
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
-#include <odp.h>
+#include <odp_api.h>
#include <example_debug.h>
#include <odp/helper/linux.h>
diff --git a/example/timer/odp_timer_test.c b/example/timer/odp_timer_test.c
index e6717bf7b..4294376e0 100644
--- a/example/timer/odp_timer_test.c
+++ b/example/timer/odp_timer_test.c
@@ -10,7 +10,7 @@
#include <example_debug.h>
/* ODP main header */
-#include <odp.h>
+#include <odp_api.h>
/* ODP helper for Linux apps */
#include <odp/helper/linux.h>