aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.h
diff options
context:
space:
mode:
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/builtin.h b/builtin.h
index d35aecea..b73f3389 100644
--- a/builtin.h
+++ b/builtin.h
@@ -139,12 +139,13 @@ int builtin_exists( const wchar_t *cmd );
*/
int builtin_run( parser_t &parser, const wchar_t * const *argv, io_data_t *io );
+/** Returns a list of all builtin names */
+wcstring_list_t builtin_get_names(void);
+
/**
- Insert all builtin names into l. These are not copies of the strings and should not be freed after use.
+ Insert all builtin names into list.
*/
-void builtin_get_names( array_list_t *list );
-
-void builtin_get_names2 (std::vector<completion_t>&);
+void builtin_get_names(std::vector<completion_t> &list);
/**
Pushes a new set of input/output to the stack. The new stdin is supplied, a new set of output string_buffer_ts is created.