1234567891011121314151617181920212223 |
- /*
- * nspace.h
- */
- #include <regex.h>
- #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 */
- 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;
- };
|