Explorar el Código

Some comments for context types

Serj Kalichev hace 3 años
padre
commit
a1f63f3415
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      klish/kcontext_base.h

+ 4 - 0
klish/kcontext_base.h

@@ -13,9 +13,13 @@ typedef struct kcontext_s kcontext_t;
 
 typedef enum {
 	KCONTEXT_NONE,
+	// Context for plugin initialization
 	KCONTEXT_PLUGIN_INIT,
+	// Context for plugin finalization
 	KCONTEXT_PLUGIN_FINI,
+	// Context for command's action
 	KCONTEXT_ACTION,
+	// Context for service actions like PTYPE, COND, etc.
 	KCONTEXT_SERVICE_ACTION,
 } kcontext_type_e;