summaryrefslogtreecommitdiffstats
path: root/ncsi_netlink_main.cpp
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2018-03-16 12:44:26 +0530
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-04-04 16:12:22 +0000
commitb38401b283d9bc7410b6c6a276cc58ac1a4b33f6 (patch)
tree0282cc7e43b4ba74cf804973be1027ff9badd551 /ncsi_netlink_main.cpp
parent346075313989e1951a3a880f32f783f5a1f9f2a4 (diff)
downloadphosphor-networkd-b38401b283d9bc7410b6c6a276cc58ac1a4b33f6.tar.gz
phosphor-networkd-b38401b283d9bc7410b6c6a276cc58ac1a4b33f6.zip
ncsi: Add code to accept command line arguments
Accepts command line arguments for interface index, ncsi channel,package etc. Change-Id: Ib2b049a2fb017593a0a4329b26bbd64c65c8b580 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'ncsi_netlink_main.cpp')
-rw-r--r--ncsi_netlink_main.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/ncsi_netlink_main.cpp b/ncsi_netlink_main.cpp
new file mode 100644
index 0000000..2441383
--- /dev/null
+++ b/ncsi_netlink_main.cpp
@@ -0,0 +1,22 @@
+/**
+ * Copyright © 2018 IBM Corporation
+ *
+ * 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.
+ */
+
+int main(int argc, char** argv)
+{
+ //TODO will implement later
+ return 0;
+}
+
OpenPOWER on IntegriCloud