Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • cellframe/python-cellframe
1 result
Show changes
Commits on Source (2)
......@@ -4,7 +4,6 @@
#define LOG_TAG "dap_chain_plugins"
int dap_chain_plugins_init(dap_config_t *a_config){
log_it(L_ERROR, "Z1");
if(dap_config_get_item_bool_default(a_config, "plugins", "py_load", false)){
const char *l_defaule_path_plugins = dap_strjoin(NULL, "/opt/", dap_get_appname(), "/var/plugins/", NULL);
const char *l_plugins_root_path = dap_config_get_item_str_default(a_config, "plugins", "py_path",
......@@ -27,7 +26,6 @@ int dap_chain_plugins_init(dap_config_t *a_config){
dap_chain_plugins_manifest_list_create();
dap_chain_plugins_list_init();
char *l_name_file = NULL;
log_it(L_ERROR, "Z2");
LL_FOREACH(l_list_plugins_name, l_element){
log_it(L_NOTICE, "Registration %s manifest", l_element->name_directory);
l_name_file = dap_strjoin("",l_plugins_root_path, "/", l_element->name_directory, "/manifest.json", NULL);
......
......@@ -18,7 +18,6 @@ void dap_chain_plugins_command_create(void){
}
int dap_chain_plugins_command_handler(int a_argc, char **a_argv, void *a_arg_func, char **a_str_reply){
(void)a_arg_func;
log_it(L_NOTICE, "Handler cmd");
enum {
CMD_NONE, CMD_LIST, CMD_SHOW_NAME, CMD_RESTART, CMD_RELOAD_NAME
};
......@@ -47,7 +46,6 @@ int dap_chain_plugins_command_handler(int a_argc, char **a_argv, void *a_arg_fun
break;
case CMD_SHOW_NAME:
dap_chain_node_cli_find_option_val(a_argv, l_arg_index, a_argc, "--name", &l_name_plugin);
log_it(L_NOTICE, "name plugin: %s", l_name_plugin);
LL_SEARCH(dap_chain_plugins_manifests_get_list(), l_element, l_name_plugin, dap_chain_plugins_manifest_name_cmp);
if (l_element != NULL){
char *l_dep = dap_chain_plugins_manifests_get_list_dependencyes(l_element);
......