aboutsummaryrefslogtreecommitdiff
path: root/helper
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 /helper
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 'helper')
-rw-r--r--helper/hashtable.c2
-rw-r--r--helper/include/odp/helper/chksum.h2
-rw-r--r--helper/include/odp/helper/eth.h2
-rw-r--r--helper/include/odp/helper/icmp.h2
-rw-r--r--helper/include/odp/helper/ip.h2
-rw-r--r--helper/include/odp/helper/ipsec.h2
-rw-r--r--helper/include/odp/helper/linux.h2
-rw-r--r--helper/include/odp/helper/tcp.h2
-rw-r--r--helper/include/odp/helper/udp.h2
-rw-r--r--helper/lineartable.c2
-rw-r--r--helper/linux.c2
-rw-r--r--helper/test/odp_chksum.c2
-rw-r--r--helper/test/odp_parse.c2
-rw-r--r--helper/test/odp_process.c2
-rw-r--r--helper/test/odp_table.c2
-rw-r--r--helper/test/odp_thread.c2
16 files changed, 16 insertions, 16 deletions
diff --git a/helper/hashtable.c b/helper/hashtable.c
index e0f562e5c..8bb1ae57c 100644
--- a/helper/hashtable.c
+++ b/helper/hashtable.c
@@ -10,7 +10,7 @@
#include "odph_hashtable.h"
#include "odph_list_internal.h"
#include "odph_debug.h"
-#include <odp.h>
+#include <odp_api.h>
#define ODPH_SUCCESS 0
#define ODPH_FAIL -1
diff --git a/helper/include/odp/helper/chksum.h b/helper/include/odp/helper/chksum.h
index 01dc47057..2f4b759ef 100644
--- a/helper/include/odp/helper/chksum.h
+++ b/helper/include/odp/helper/chksum.h
@@ -17,7 +17,7 @@
extern "C" {
#endif
-#include <odp.h>
+#include <odp_api.h>
/**
* Checksum
diff --git a/helper/include/odp/helper/eth.h b/helper/include/odp/helper/eth.h
index 93841bba8..1e162257e 100644
--- a/helper/include/odp/helper/eth.h
+++ b/helper/include/odp/helper/eth.h
@@ -18,7 +18,7 @@
extern "C" {
#endif
-#include <odp.h>
+#include <odp_api.h>
/** @addtogroup odph_header ODPH HEADER
* @{
diff --git a/helper/include/odp/helper/icmp.h b/helper/include/odp/helper/icmp.h
index b187c3a60..929b8bceb 100644
--- a/helper/include/odp/helper/icmp.h
+++ b/helper/include/odp/helper/icmp.h
@@ -18,7 +18,7 @@
extern "C" {
#endif
-#include <odp.h>
+#include <odp_api.h>
/** @addtogroup odph_header ODPH HEADER
* @{
diff --git a/helper/include/odp/helper/ip.h b/helper/include/odp/helper/ip.h
index 616ccba52..3789d548e 100644
--- a/helper/include/odp/helper/ip.h
+++ b/helper/include/odp/helper/ip.h
@@ -18,7 +18,7 @@
extern "C" {
#endif
-#include <odp.h>
+#include <odp_api.h>
#include <odp/helper/chksum.h>
#include <string.h>
diff --git a/helper/include/odp/helper/ipsec.h b/helper/include/odp/helper/ipsec.h
index 80d900ccb..af3de87b8 100644
--- a/helper/include/odp/helper/ipsec.h
+++ b/helper/include/odp/helper/ipsec.h
@@ -18,7 +18,7 @@
extern "C" {
#endif
-#include <odp.h>
+#include <odp_api.h>
/** @addtogroup odph_header ODPH HEADER
* @{
diff --git a/helper/include/odp/helper/linux.h b/helper/include/odp/helper/linux.h
index d38d5908d..d2799ad9c 100644
--- a/helper/include/odp/helper/linux.h
+++ b/helper/include/odp/helper/linux.h
@@ -22,7 +22,7 @@
extern "C" {
#endif
-#include <odp.h>
+#include <odp_api.h>
#include <pthread.h>
#include <sys/types.h>
diff --git a/helper/include/odp/helper/tcp.h b/helper/include/odp/helper/tcp.h
index 4a3ee8664..cabef9072 100644
--- a/helper/include/odp/helper/tcp.h
+++ b/helper/include/odp/helper/tcp.h
@@ -18,7 +18,7 @@
extern "C" {
#endif
-#include <odp.h>
+#include <odp_api.h>
/** @addtogroup odph_header ODPH HEADER
* @{
diff --git a/helper/include/odp/helper/udp.h b/helper/include/odp/helper/udp.h
index 163b610b7..812f5b933 100644
--- a/helper/include/odp/helper/udp.h
+++ b/helper/include/odp/helper/udp.h
@@ -17,7 +17,7 @@
extern "C" {
#endif
-#include <odp.h>
+#include <odp_api.h>
/** @addtogroup odph_header ODPH HEADER
* @{
diff --git a/helper/lineartable.c b/helper/lineartable.c
index 68d935000..e82c1651c 100644
--- a/helper/lineartable.c
+++ b/helper/lineartable.c
@@ -10,7 +10,7 @@
#include "odph_lineartable.h"
#include "odph_debug.h"
-#include <odp.h>
+#include <odp_api.h>
#define ODPH_SUCCESS 0
#define ODPH_FAIL -1
diff --git a/helper/linux.c b/helper/linux.c
index 610aed8b2..9bb889914 100644
--- a/helper/linux.c
+++ b/helper/linux.c
@@ -17,7 +17,7 @@
#include <string.h>
#include <stdio.h>
-#include <odp.h>
+#include <odp_api.h>
#include <odp/helper/linux.h>
#include "odph_debug.h"
diff --git a/helper/test/odp_chksum.c b/helper/test/odp_chksum.c
index 8fae00bc8..997639614 100644
--- a/helper/test/odp_chksum.c
+++ b/helper/test/odp_chksum.c
@@ -5,7 +5,7 @@
*/
#include <test_debug.h>
-#include <odp.h>
+#include <odp_api.h>
#include <odp/helper/eth.h>
#include <odp/helper/ip.h>
#include <odp/helper/udp.h>
diff --git a/helper/test/odp_parse.c b/helper/test/odp_parse.c
index 77c506b17..b5a4ab4dc 100644
--- a/helper/test/odp_parse.c
+++ b/helper/test/odp_parse.c
@@ -6,7 +6,7 @@
#include <test_debug.h>
-#include <odp.h>
+#include <odp_api.h>
#include <odp/helper/eth.h>
#include <odp/helper/ip.h>
diff --git a/helper/test/odp_process.c b/helper/test/odp_process.c
index cb9b328bc..796c9be7c 100644
--- a/helper/test/odp_process.c
+++ b/helper/test/odp_process.c
@@ -5,7 +5,7 @@
*/
#include <test_debug.h>
-#include <odp.h>
+#include <odp_api.h>
#include <odp/helper/linux.h>
#define NUMBER_WORKERS 16 /* 0 = max */
diff --git a/helper/test/odp_table.c b/helper/test/odp_table.c
index 9d5c5dce0..d20a5a680 100644
--- a/helper/test/odp_table.c
+++ b/helper/test/odp_table.c
@@ -7,7 +7,7 @@
#include <test_debug.h>
#include <../odph_hashtable.h>
#include <../odph_lineartable.h>
-#include <odp.h>
+#include <odp_api.h>
/**
* Address Resolution Protocol (ARP)
diff --git a/helper/test/odp_thread.c b/helper/test/odp_thread.c
index f2f7904c9..8ab3df1fe 100644
--- a/helper/test/odp_thread.c
+++ b/helper/test/odp_thread.c
@@ -5,7 +5,7 @@
*/
#include <test_debug.h>
-#include <odp.h>
+#include <odp_api.h>
#include <odp/helper/linux.h>
#define NUMBER_WORKERS 16