Explorar el Código

Add prototype for plugin's sym

Serj Kalichev hace 3 años
padre
commit
704e698fdf
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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