Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-plugins-python
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
libdap-plugins-python
Merge requests
!4
Features 2954
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Features 2954
features-2954
into
master
Overview
7
Commits
11
Pipelines
0
Changes
8
7 unresolved threads
Hide all comments
Merged
alexey.stratulat
requested to merge
features-2954
into
master
4 years ago
Overview
7
Commits
11
Pipelines
0
Changes
8
7 unresolved threads
Hide all comments
Expand
[+] Added commands:
plugins list - show list plugins
plugins show --name <plugin_name> - show information for plugin
plugins restart - Restart all plugins
plugins reload --name <plugin_name> - Restart plugin
👍
0
👎
0
Merge request reports
Compare
master
version 3
b0b7a306
4 years ago
version 2
97350b55
4 years ago
version 1
39f953ce
4 years ago
master (base)
and
latest version
latest version
f5478e23
11 commits,
4 years ago
version 3
b0b7a306
10 commits,
4 years ago
version 2
97350b55
9 commits,
4 years ago
version 1
39f953ce
6 commits,
4 years ago
8 files
+
507
−
155
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
Search (e.g. *.vue) (Ctrl+P)
include/dap_chain_plugins.h
+
29
−
6
Options
/*
* 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_
#define _DAP_CHAIN_PLUGINS_
#include
<Python.h>
@@ -7,22 +31,21 @@
#include
"dap_chain_plugins_manifest.h"
#include
"dap_chain_plugins_list.h"
#include
"python-cellframe.h"
#include
"dap_chain_plugins_command.h"
#ifdef __cplusplus
extern
"C"
{
#endif
#undef LOG_TAG
#define LOG_TAG "dap_chain_plugins"
static
PyObject
*
sys_path
;
static
PyObject
*
s_sys_path
;
const
char
*
plugins_root_path
;
const
char
*
s_
plugins_root_path
;
int
dap_chain_plugins_init
();
void
dap_chain_plugins_deinit
();
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
}
Loading