private.h 610 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * private.h
  3. */
  4. #ifndef _plugins_klish_h
  5. #define _plugins_klish_h
  6. #include <faux/faux.h>
  7. #include <klish/kcontext_base.h>
  8. C_DECL_BEGIN
  9. // Misc
  10. int klish_nop(kcontext_t *context);
  11. int klish_tsym(kcontext_t *context);
  12. int klish_print(kcontext_t *context);
  13. int klish_pwd(kcontext_t *context);
  14. // Navigation
  15. int klish_nav(kcontext_t *context);
  16. // PTYPEs
  17. int klish_ptype_COMMAND(kcontext_t *context);
  18. int klish_ptype_COMMAND_CASE(kcontext_t *context);
  19. int klish_ptype_INT(kcontext_t *context);
  20. int klish_ptype_UINT(kcontext_t *context);
  21. int klish_ptype_STRING(kcontext_t *context);
  22. C_DECL_END
  23. #endif