From 16d08884bf608cac1956a6d8238e033c873b4209 Mon Sep 17 00:00:00 2001
From: "Dmitriy A. Gerasimov" <dmitriy.gerasimov@demlabs.net>
Date: Sun, 9 Sep 2018 23:17:28 +0700
Subject: [PATCH] [+] Init/deinit template

---
 dap_stream_ch_chain_net.c | 40 +++++++++++++++++++++++++++++++++++++++
 dap_stream_ch_chain_net.h | 28 +++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/dap_stream_ch_chain_net.c b/dap_stream_ch_chain_net.c
index e69de29..061f537 100644
--- a/dap_stream_ch_chain_net.c
+++ b/dap_stream_ch_chain_net.c
@@ -0,0 +1,40 @@
+/*
+ * Authors:
+ * Dmitriy A. Gearasimov <gerasimov.dmitriy@demlabs.net>
+ * DeM Labs Inc.   https://demlabs.net
+ * Kelvin Project https://github.com/kelvinblockchain
+ * Copyright  (c) 2017-2018
+ * All rights reserved.
+
+ This file is part of DAP (Deus Applications Prototypes) the open source project
+
+    DAP (Deus Applicaions Prototypes) is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    DAP is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with any DAP based project.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#include "dap_common.h"
+
+#include "dap_stream_ch_chain_net.h"
+
+#define LOG_TAG "stream_ch_chain_net"
+
+int dap_stream_ch_chain_net_init()
+{
+    log_it(L_NOTICE,"Chain network channel initialized");
+    return 0;
+}
+
+void dap_stream_ch_chain_net_deinit()
+{
+
+}
diff --git a/dap_stream_ch_chain_net.h b/dap_stream_ch_chain_net.h
index e69de29..e3b5144 100644
--- a/dap_stream_ch_chain_net.h
+++ b/dap_stream_ch_chain_net.h
@@ -0,0 +1,28 @@
+/*
+ * Authors:
+ * Dmitriy A. Gearasimov <gerasimov.dmitriy@demlabs.net>
+ * DeM Labs Inc.   https://demlabs.net
+ * Kelvin Project https://github.com/kelvinblockchain
+ * Copyright  (c) 2017-2018
+ * All rights reserved.
+
+ This file is part of DAP (Deus Applications Prototypes) the open source project
+
+    DAP (Deus Applicaions Prototypes) is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    DAP is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with any DAP based project.  If not, see <http://www.gnu.org/licenses/>.
+**/
+
+#pragma once
+
+int dap_stream_ch_chain_net_init();
+void dap_stream_ch_chain_net_deinit();
-- 
GitLab