/* * nspace.h */ #include #include "clish/nspace.h" /*--------------------------------------------------------- * PRIVATE TYPES *--------------------------------------------------------- */ struct clish_nspace_s { lub_bintree_t tree; /* Tree of command links */ clish_view_t *view; /* The view to import commands from */ clish_view_t *pview; /* The view we are a child of */ char *view_name; /* The text name of view to import command from */ char *prefix; /* if non NULL the prefix for imported commands */ char *access; regex_t prefix_regex; bool_t help; bool_t completion; bool_t context_help; bool_t inherit; clish_command_t * prefix_cmd; };