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

---
 dap_chain_net.c | 38 ++++++++++++++++++++++++++++++++++++++
 dap_chain_net.h | 26 ++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/dap_chain_net.c b/dap_chain_net.c
index e69de29bb2..4984355160 100644
--- a/dap_chain_net.c
+++ b/dap_chain_net.c
@@ -0,0 +1,38 @@
+/*
+ * 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_chain_net.h"
+
+#define LOG_TAG "chain_net"
+
+int dap_chain_net_init()
+{
+    return 0;
+}
+
+void dap_chain_net_deinit()
+{
+
+}
diff --git a/dap_chain_net.h b/dap_chain_net.h
index e69de29bb2..9bb4c3c032 100644
--- a/dap_chain_net.h
+++ b/dap_chain_net.h
@@ -0,0 +1,26 @@
+/*
+ * 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_chain_net_init();
+void dap_chain_net_deinit();
-- 
GitLab