|
@@ -13,7 +13,7 @@
|
|
|
#include <sysrepo.h>
|
|
|
#include <sysrepo/xpath.h>
|
|
|
|
|
|
-#include "private.h"
|
|
|
+#include "syms.h"
|
|
|
|
|
|
|
|
|
const uint8_t kplugin_sysrepo_major = KPLUGIN_MAJOR;
|
|
@@ -46,36 +46,9 @@ int kplugin_sysrepo_init(kcontext_t *context)
|
|
|
|
|
|
kplugin_set_udata(plugin, sess);
|
|
|
|
|
|
-
|
|
|
-
|
|
|
- kplugin_add_syms(plugin, ksym_new_ext("nop", klish_nop,
|
|
|
- KSYM_USERDEFINED_PERMANENT, KSYM_SYNC));
|
|
|
- kplugin_add_syms(plugin, ksym_new("tsym", klish_tsym));
|
|
|
- kplugin_add_syms(plugin, ksym_new("print", klish_print));
|
|
|
- kplugin_add_syms(plugin, ksym_new_ext("pwd", klish_pwd,
|
|
|
- KSYM_PERMANENT, KSYM_SYNC));
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- kplugin_add_syms(plugin, ksym_new_ext("nav", klish_nav,
|
|
|
- KSYM_PERMANENT, KSYM_SYNC));
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- kplugin_add_syms(plugin, ksym_new_ext("COMMAND", klish_ptype_COMMAND,
|
|
|
- KSYM_USERDEFINED_PERMANENT, KSYM_SYNC));
|
|
|
- kplugin_add_syms(plugin, ksym_new_ext("completion_COMMAND", klish_completion_COMMAND,
|
|
|
- KSYM_USERDEFINED_PERMANENT, KSYM_SYNC));
|
|
|
- kplugin_add_syms(plugin, ksym_new_ext("COMMAND_CASE", klish_ptype_COMMAND_CASE,
|
|
|
- KSYM_USERDEFINED_PERMANENT, KSYM_SYNC));
|
|
|
- kplugin_add_syms(plugin, ksym_new_ext("INT", klish_ptype_INT,
|
|
|
- KSYM_USERDEFINED_PERMANENT, KSYM_SYNC));
|
|
|
- kplugin_add_syms(plugin, ksym_new_ext("UINT", klish_ptype_UINT,
|
|
|
- KSYM_USERDEFINED_PERMANENT, KSYM_SYNC));
|
|
|
- kplugin_add_syms(plugin, ksym_new_ext("STRING", klish_ptype_STRING,
|
|
|
- KSYM_USERDEFINED_PERMANENT, KSYM_SYNC));
|
|
|
-*/
|
|
|
+
|
|
|
+ kplugin_add_syms(plugin, ksym_new("srp_compl", srp_compl));
|
|
|
+
|
|
|
return 0;
|
|
|
}
|
|
|
|