Skip to content
Snippets Groups Projects

Features 2954

Merged alexey.stratulat requested to merge features-2954 into master
7 unresolved threads
Files
8
 
/*
 
* Authors:
 
* Alexey V. Stratulat <alexey.stratulat@demlabs.net>
 
* DeM Labs Inc. https://demlabs.net
 
* DeM Labs Open source community https://gitlab.demlabs.net/cellframe/libdap-plugins-python
 
* Copyright (c) 2017-2020
 
* 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/>.
 
*/
 
#ifndef _DAP_CHAIN_PLUGINS_
#ifndef _DAP_CHAIN_PLUGINS_
#define _DAP_CHAIN_PLUGINS_
#define _DAP_CHAIN_PLUGINS_
#include <Python.h>
#include <Python.h>
@@ -7,22 +31,21 @@
@@ -7,22 +31,21 @@
#include "dap_chain_plugins_manifest.h"
#include "dap_chain_plugins_manifest.h"
#include "dap_chain_plugins_list.h"
#include "dap_chain_plugins_list.h"
#include "python-cellframe.h"
#include "python-cellframe.h"
 
#include "dap_chain_plugins_command.h"
#ifdef __cplusplus
#ifdef __cplusplus
extern "C"{
extern "C"{
#endif
#endif
#undef LOG_TAG
static PyObject *s_sys_path;
#define LOG_TAG "dap_chain_plugins"
static PyObject *sys_path;
const char *plugins_root_path;
const char *s_plugins_root_path;
int dap_chain_plugins_init();
int dap_chain_plugins_init();
void dap_chain_plugins_deinit();
void dap_chain_plugins_deinit();
void dap_chain_plugins_loading();
void dap_chain_plugins_loading();
void dap_chain_plugins_load_plugin(const char *dir_path, const char *name);
void dap_chain_plugins_load_plugin(const char *a_dir_path, const char *a_name);
 
int dap_chain_plugins_reload_plugin(const char * a_name_plugin);
#ifdef __cplusplus
#ifdef __cplusplus
}
}
Loading