Browse Source

Add prototype for plugin's sym

Serj Kalichev 3 years ago
parent
commit
704e698fdf
1 changed files with 4 additions and 0 deletions
  1. 4 0
      klish/kplugin.h

+ 4 - 0
klish/kplugin.h

@@ -34,6 +34,10 @@ typedef struct kplugin_s kplugin_t;
 
 typedef faux_list_node_t kplugin_syms_node_t;
 
+// Callback function prototype
+typedef struct kcontext_s kcontext_t;
+typedef int (*kplugin_sym_f)(kcontext_t *context);
+
 
 C_DECL_BEGIN