summaryrefslogtreecommitdiffstats
path: root/src/uri/vcl_test_server.c
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2017-08-03 02:11:34 -0400
committerFlorin Coras <florin.coras@gmail.com>2017-08-11 02:50:51 +0000
commit543852a46ce107243ed92254bd88b87ca82bbd0b (patch)
treee9e1b95850dfcbdc116e0f6ee219c2e75cfff266 /src/uri/vcl_test_server.c
parent7faab8d3a571a272506eb463fc470b9dbe8a02a7 (diff)
Add VPP Communications Library (VCL)
- VCL library - client/server test application - test script (make test integration tbd) - gdb command file templates - vppcom test config file Change-Id: I21eab7aa09b4e5dc3412acf5c2eab07415c2fc0f Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'src/uri/vcl_test_server.c')
-rw-r--r--src/uri/vcl_test_server.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/uri/vcl_test_server.c b/src/uri/vcl_test_server.c
new file mode 100644
index 00000000000..660d705e037
--- /dev/null
+++ b/src/uri/vcl_test_server.c
@@ -0,0 +1,27 @@
+/*
+ * Copyright (c) 2017 Cisco and/or its affiliates.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * 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.
+ */
+
+#define VCL_TEST
+
+#include <uri/vppcom.h>
+#include <uri/sock_test_server.c>
+
+/*
+ * fd.io coding-style-patch-verification: ON
+ *
+ * Local Variables:
+ * eval: (c-set-style "gnu")
+ * End:
+ */