/* * Authors: * Dmitriy A. Gearasimov <naeper@demlabs.net> * DeM Labs Inc. https://demlabs.net 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 __BEGIN_DECLS #include "dap_common.h" #include "dap_config.h" #define UNIX_SOCKET_FILE "/opt/kelvin-node/var/run/node_cli.sock" //#define UNIX_SOCKET_FILE "/var/run/node_cli.sock" /** * Initialization of the server side of the interaction * with the console kelvin-node-cli * */ int dap_chain_node_cli_init(dap_config_t * g_config); /** * Deinitialization of the server side * */ void dap_chain_node_cli_delete(void); __END_DECLS