X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=interactive.h;h=0af2ef40c27e38950654044ceb0770951ff328ef;hp=be42c91fdb8723f2239d4915032f2ddeb45e6f55;hb=6cb789ba07d3830f1d7fbff9daa059eb1c99c166;hpb=ef1f130a1f9ac61a51da10ee56c5bd9ef1b52366 diff --git a/interactive.h b/interactive.h index be42c91f..0af2ef40 100644 --- a/interactive.h +++ b/interactive.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 Andre Noll + * Copyright (C) 2011-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -71,6 +71,11 @@ struct i9e_client_info { * completer if the cursor is not on the first word. */ struct i9e_completer *completers; + /** + * If non-NULL, this node is attached immediately to the stdout btr + * node of the i9e subsystem. + */ + struct btr_node *producer; }; int i9e_open(struct i9e_client_info *ici, struct sched *s); @@ -86,3 +91,4 @@ char **i9e_complete_commands(const char *word, struct i9e_completer *completers) void i9e_complete_option(char **opts, struct i9e_completion_info *ci, struct i9e_completion_result *cr); int i9e_print_completions(struct i9e_completer *completers); +int i9e_get_error(void);