Parcourir la source

Add prototype for plugin's sym

Serj Kalichev il y a 3 ans
Parent
commit
704e698fdf
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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