X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=interactive.h;h=6ef7f8e259b0045a5c808c01560b5a81166b01fd;hb=9055c71be97f1095dcdbd83da305b600f204f763;hp=4253f79ccf3b511b4b901a3d2495f9ef0e1e715d;hpb=fdd8a22e1df57a8c9254e7d0074301e7dde2c557;p=paraslash.git diff --git a/interactive.h b/interactive.h index 4253f79c..6ef7f8e2 100644 --- a/interactive.h +++ b/interactive.h @@ -84,7 +84,7 @@ void i9e_print_status_bar(char *buf, unsigned len); void i9e_close(void); void i9e_signal_dispatch(int sig_num); __printf_2_3 void i9e_log(int ll, const char* fmt,...); -int i9e_select(int n, fd_set *readfds, fd_set *writefds, int timeout); +int i9e_poll(struct pollfd *fds, nfds_t nfds, int timeout); int i9e_extract_completions(const char *word, char **string_list, char ***result); char **i9e_complete_commands(const char *word, struct i9e_completer *completers); @@ -92,3 +92,5 @@ 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); +void i9e_ll_completer(struct i9e_completion_info *ci, + struct i9e_completion_result *cr);