private.h 788 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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_printl(kcontext_t *context);
  14. int klish_pwd(kcontext_t *context);
  15. int klish_prompt(kcontext_t *context);
  16. // Navigation
  17. int klish_nav(kcontext_t *context);
  18. // PTYPEs
  19. int klish_ptype_COMMAND(kcontext_t *context);
  20. int klish_completion_COMMAND(kcontext_t *context);
  21. int klish_help_COMMAND(kcontext_t *context);
  22. int klish_ptype_COMMAND_CASE(kcontext_t *context);
  23. int klish_ptype_INT(kcontext_t *context);
  24. int klish_ptype_UINT(kcontext_t *context);
  25. int klish_ptype_STRING(kcontext_t *context);
  26. C_DECL_END
  27. #endif