Browse Source

Made clish_shell_find_view public

Obviously useful for scripting.
Ingo Albrecht 8 years ago
parent
commit
233410ef9b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      clish/shell.h

+ 2 - 0
clish/shell.h

@@ -98,6 +98,8 @@ clish_ptype_t *clish_shell_find_create_ptype(clish_shell_t *instance,
 	const char *pattern,
 	clish_ptype_method_e method,
 	clish_ptype_preprocess_e preprocess);
+clish_view_t *clish_shell_find_view(clish_shell_t * instance,
+	const char *name);
 clish_ptype_t *clish_shell_find_ptype(clish_shell_t *instance,
 	const char *name);
 void clish_shell_help(clish_shell_t * instance, const char *line);