diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-05-09 16:07:05 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-05-09 16:09:08 +0200 |
commit | 619beb63a1748cd9ece96260bfb2e9484e52cb67 (patch) | |
tree | 12aeffdd99d378c088f3c3aad634bb5d3e9000b4 /src/readline.h | |
parent | 2d49dfdd370852d5033b848fd69b6112368b7d20 (diff) | |
download | mpiosh-619beb63a1748cd9ece96260bfb2e9484e52cb67.tar.gz mpiosh-619beb63a1748cd9ece96260bfb2e9484e52cb67.tar.bz2 mpiosh-619beb63a1748cd9ece96260bfb2e9484e52cb67.zip |
Cleanup
Remove unused files, move mpiosh to src, ...
Diffstat (limited to 'src/readline.h')
-rw-r--r-- | src/readline.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/readline.h b/src/readline.h new file mode 100644 index 0000000..a0bb08a --- /dev/null +++ b/src/readline.h @@ -0,0 +1,47 @@ +/* readline.h + * + * Author: Andreas Büsching <crunchy@tzi.de> + * + * $Id: readline.h,v 1.3 2003/04/23 08:34:16 crunchy Exp $ + * + * Copyright (C) 2001 Andreas Büsching <crunchy@tzi.de> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef MPIOSH_READLINE_HH +#define MPIOSH_READLINE_HH + +#include <stdio.h> + +#include <readline/readline.h> +#include <readline/history.h> + +/* readline extensions */ +void mpiosh_readline_init(void); +char **mpiosh_readline_completion(const char *text, int start, int end); + +void mpiosh_readline_noredisplay(void); +void mpiosh_readline_pipe(void); +int mpiosh_readline_cancel(void); + +char *mpiosh_readline_comp_cmd(const char *text, int state); +char *mpiosh_readline_comp_onoff(const char *text, int state); +char *mpiosh_readline_comp_mpio_file(const char *text, int state); +char *mpiosh_readline_comp_config(const char *text, int state); + +#endif + +/* end of readline.h */ |