private.h 551 B

12345678910111213141516171819202122
  1. /*
  2. * nspace.h
  3. */
  4. #include <regex.h>
  5. #include "clish/nspace.h"
  6. /*---------------------------------------------------------
  7. * PRIVATE TYPES
  8. *--------------------------------------------------------- */
  9. struct clish_nspace_s {
  10. lub_bintree_t tree; /* Tree of command links */
  11. clish_view_t *view; /* The view to import commands from */
  12. char *prefix; /* if non NULL the prefix for imported commands */
  13. char *access;
  14. regex_t prefix_regex;
  15. bool_t help;
  16. bool_t completion;
  17. bool_t context_help;
  18. bool_t inherit;
  19. clish_command_t * prefix_cmd;
  20. };