summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-10-08 08:34:43 +0200
committerimarom <imarom@cisco.com>2015-10-08 08:34:43 +0200
commit74b648a86c16933680b03a736afe3f0305b4f6d2 (patch)
tree20e52865b0635f9221ccf0ced04836ef410952b2
parentf47239654fb47d9de81fdb47fc9a16f3f205082f (diff)
some file renaming
-rw-r--r--src/rpc-server/commands/trex_rpc_cmd_general.cpp2
-rw-r--r--src/rpc-server/commands/trex_rpc_cmd_stream.cpp4
-rw-r--r--src/rpc-server/trex_rpc_async_server.cpp2
-rw-r--r--src/rpc-server/trex_rpc_cmd.cpp2
-rw-r--r--src/rpc-server/trex_rpc_server_mock.cpp2
-rw-r--r--src/stateless/cp/trex_stateless.cpp2
-rw-r--r--src/stateless/cp/trex_stateless.h (renamed from src/stateless/cp/trex_stateless_api.h)8
-rw-r--r--src/stateless/cp/trex_stateless_port.cpp2
-rw-r--r--src/stateless/cp/trex_stateless_port.h2
-rw-r--r--src/stateless/cp/trex_stream.cpp2
-rw-r--r--src/stateless/cp/trex_stream.h (renamed from src/stateless/cp/trex_stream_api.h)6
11 files changed, 17 insertions, 17 deletions
diff --git a/src/rpc-server/commands/trex_rpc_cmd_general.cpp b/src/rpc-server/commands/trex_rpc_cmd_general.cpp
index 3a0a12f8..b440fa81 100644
--- a/src/rpc-server/commands/trex_rpc_cmd_general.cpp
+++ b/src/rpc-server/commands/trex_rpc_cmd_general.cpp
@@ -21,7 +21,7 @@ limitations under the License.
#include "trex_rpc_cmds.h"
#include <trex_rpc_server_api.h>
-#include <trex_stateless_api.h>
+#include <trex_stateless.h>
#include <trex_stateless_port.h>
#include <trex_rpc_cmds_table.h>
diff --git a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp
index 97c2b791..812d819e 100644
--- a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp
+++ b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp
@@ -20,8 +20,8 @@ limitations under the License.
*/
#include "trex_rpc_cmds.h"
#include <trex_rpc_server_api.h>
-#include <trex_stream_api.h>
-#include <trex_stateless_api.h>
+#include <trex_stream.h>
+#include <trex_stateless.h>
#include <trex_stateless_port.h>
#include <iostream>
diff --git a/src/rpc-server/trex_rpc_async_server.cpp b/src/rpc-server/trex_rpc_async_server.cpp
index 40d16dfe..01f03af3 100644
--- a/src/rpc-server/trex_rpc_async_server.cpp
+++ b/src/rpc-server/trex_rpc_async_server.cpp
@@ -24,7 +24,7 @@ limitations under the License.
*/
#define _GLIBCXX_USE_NANOSLEEP
-#include <trex_stateless_api.h>
+#include <trex_stateless.h>
#include <trex_stateless_port.h>
#include <trex_rpc_async_server.h>
#include <zmq.h>
diff --git a/src/rpc-server/trex_rpc_cmd.cpp b/src/rpc-server/trex_rpc_cmd.cpp
index f7cb5259..920a8d30 100644
--- a/src/rpc-server/trex_rpc_cmd.cpp
+++ b/src/rpc-server/trex_rpc_cmd.cpp
@@ -20,7 +20,7 @@ limitations under the License.
*/
#include <trex_rpc_cmd_api.h>
#include <trex_rpc_server_api.h>
-#include <trex_stateless_api.h>
+#include <trex_stateless.h>
#include <trex_stateless_port.h>
trex_rpc_cmd_rc_e
diff --git a/src/rpc-server/trex_rpc_server_mock.cpp b/src/rpc-server/trex_rpc_server_mock.cpp
index 16aa6774..32635c75 100644
--- a/src/rpc-server/trex_rpc_server_mock.cpp
+++ b/src/rpc-server/trex_rpc_server_mock.cpp
@@ -20,7 +20,7 @@ limitations under the License.
*/
#include <trex_rpc_server_api.h>
-#include <trex_stateless_api.h>
+#include <trex_stateless.h>
#include <iostream>
#include <unistd.h>
diff --git a/src/stateless/cp/trex_stateless.cpp b/src/stateless/cp/trex_stateless.cpp
index 0b7947a0..92f54bc4 100644
--- a/src/stateless/cp/trex_stateless.cpp
+++ b/src/stateless/cp/trex_stateless.cpp
@@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
-#include <trex_stateless_api.h>
+#include <trex_stateless.h>
#include <trex_stateless_port.h>
using namespace std;
diff --git a/src/stateless/cp/trex_stateless_api.h b/src/stateless/cp/trex_stateless.h
index e2bf4e1c..74e88846 100644
--- a/src/stateless/cp/trex_stateless_api.h
+++ b/src/stateless/cp/trex_stateless.h
@@ -18,14 +18,14 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
-#ifndef __TREX_STATELESS_API_H__
-#define __TREX_STATELESS_API_H__
+#ifndef __TREX_STATELESS_H__
+#define __TREX_STATELESS_H__
#include <stdint.h>
#include <string>
#include <stdexcept>
-#include <trex_stream_api.h>
+#include <trex_stream.h>
/**
* generic exception for errors
@@ -138,5 +138,5 @@ protected:
TrexStatelessStats m_stats;
};
-#endif /* __TREX_STATELESS_API_H__ */
+#endif /* __TREX_STATELESS_H__ */
diff --git a/src/stateless/cp/trex_stateless_port.cpp b/src/stateless/cp/trex_stateless_port.cpp
index 7322ef8a..031efb58 100644
--- a/src/stateless/cp/trex_stateless_port.cpp
+++ b/src/stateless/cp/trex_stateless_port.cpp
@@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
-#include <trex_stateless_api.h>
+#include <trex_stateless.h>
#include <trex_stateless_port.h>
#include <string>
diff --git a/src/stateless/cp/trex_stateless_port.h b/src/stateless/cp/trex_stateless_port.h
index ea98ddae..a19fd981 100644
--- a/src/stateless/cp/trex_stateless_port.h
+++ b/src/stateless/cp/trex_stateless_port.h
@@ -21,7 +21,7 @@ limitations under the License.
#ifndef __TREX_STATELESS_PORT_H__
#define __TREX_STATELESS_PORT_H__
-#include <trex_stream_api.h>
+#include <trex_stream.h>
/**
* TRex stateless port stats
diff --git a/src/stateless/cp/trex_stream.cpp b/src/stateless/cp/trex_stream.cpp
index 8bf04748..182036f1 100644
--- a/src/stateless/cp/trex_stream.cpp
+++ b/src/stateless/cp/trex_stream.cpp
@@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
-#include <trex_stream_api.h>
+#include <trex_stream.h>
#include <cstddef>
/**************************************
diff --git a/src/stateless/cp/trex_stream_api.h b/src/stateless/cp/trex_stream.h
index d3c0fb29..f5bc96ef 100644
--- a/src/stateless/cp/trex_stream_api.h
+++ b/src/stateless/cp/trex_stream.h
@@ -18,8 +18,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
-#ifndef __TREX_STREAM_API_H__
-#define __TREX_STREAM_API_H__
+#ifndef __TREX_STREAM_H__
+#define __TREX_STREAM_H__
#include <unordered_map>
#include <vector>
@@ -205,5 +205,5 @@ private:
std::unordered_map<int, TrexStream *> m_stream_table;
};
-#endif /* __TREX_STREAM_API_H__ */
+#endif /* __TREX_STREAM_H__ */