summaryrefslogtreecommitdiffstats
path: root/readline-6.2/rltypedefs.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-08 16:24:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-08 16:24:33 +0000
commitb667555541a4d65bb9dae6f0e0f240e6a05b148e (patch)
treeb3ae5c92f04ae68fbf9580d6efcf1a1510851495 /readline-6.2/rltypedefs.h
parent2011-04-08 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-addon-packages-b667555541a4d65bb9dae6f0e0f240e6a05b148e.tar.bz2
2011-04-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* RTEMS_Makefiles/Makefile.readline-6.2, readline-6.2/CHANGELOG, readline-6.2/CHANGES, readline-6.2/COPYING, readline-6.2/INSTALL, readline-6.2/MANIFEST, readline-6.2/Makefile.in, readline-6.2/NEWS, readline-6.2/README, readline-6.2/USAGE, readline-6.2/aclocal.m4, readline-6.2/ansi_stdlib.h, readline-6.2/bind.c, readline-6.2/callback.c, readline-6.2/chardefs.h, readline-6.2/compat.c, readline-6.2/complete.c, readline-6.2/config.h.in, readline-6.2/configure, readline-6.2/configure.in, readline-6.2/display.c, readline-6.2/emacs_keymap.c, readline-6.2/funmap.c, readline-6.2/histexpand.c, readline-6.2/histfile.c, readline-6.2/histlib.h, readline-6.2/history.c, readline-6.2/history.h, readline-6.2/histsearch.c, readline-6.2/input.c, readline-6.2/isearch.c, readline-6.2/keymaps.c, readline-6.2/keymaps.h, readline-6.2/kill.c, readline-6.2/macro.c, readline-6.2/mbutil.c, readline-6.2/misc.c, readline-6.2/nls.c, readline-6.2/parens.c, readline-6.2/patchlevel, readline-6.2/posixdir.h, readline-6.2/posixjmp.h, readline-6.2/posixselect.h, readline-6.2/posixstat.h, readline-6.2/readline.c, readline-6.2/readline.h, readline-6.2/rlconf.h, readline-6.2/rldefs.h, readline-6.2/rlmbutil.h, readline-6.2/rlprivate.h, readline-6.2/rlshell.h, readline-6.2/rlstdc.h, readline-6.2/rltty.c, readline-6.2/rltty.h, readline-6.2/rltypedefs.h, readline-6.2/rlwinsize.h, readline-6.2/savestring.c, readline-6.2/search.c, readline-6.2/shell.c, readline-6.2/signals.c, readline-6.2/tcap.h, readline-6.2/terminal.c, readline-6.2/text.c, readline-6.2/tilde.c, readline-6.2/tilde.h, readline-6.2/undo.c, readline-6.2/util.c, readline-6.2/vi_keymap.c, readline-6.2/vi_mode.c, readline-6.2/xfree.c, readline-6.2/xmalloc.c, readline-6.2/xmalloc.h, readline-6.2/doc/Makefile.in, readline-6.2/doc/fdl.texi, readline-6.2/doc/history.0, readline-6.2/doc/history.3, readline-6.2/doc/history.dvi, readline-6.2/doc/history.html, readline-6.2/doc/history.info, readline-6.2/doc/history.pdf, readline-6.2/doc/history.ps, readline-6.2/doc/history.texi, readline-6.2/doc/history_3.ps, readline-6.2/doc/hstech.texi, readline-6.2/doc/hsuser.texi, readline-6.2/doc/readline.0, readline-6.2/doc/readline.3, readline-6.2/doc/readline.dvi, readline-6.2/doc/readline.html, readline-6.2/doc/readline.info, readline-6.2/doc/readline.pdf, readline-6.2/doc/readline.ps, readline-6.2/doc/readline_3.ps, readline-6.2/doc/rlman.texi, readline-6.2/doc/rltech.texi, readline-6.2/doc/rluser.texi, readline-6.2/doc/rluserman.dvi, readline-6.2/doc/rluserman.html, readline-6.2/doc/rluserman.info, readline-6.2/doc/rluserman.pdf, readline-6.2/doc/rluserman.ps, readline-6.2/doc/rluserman.texi, readline-6.2/doc/texi2dvi, readline-6.2/doc/texi2html, readline-6.2/doc/texinfo.tex, readline-6.2/doc/version.texi, readline-6.2/examples/Inputrc, readline-6.2/examples/Makefile.in, readline-6.2/examples/excallback.c, readline-6.2/examples/fileman.c, readline-6.2/examples/histexamp.c, readline-6.2/examples/manexamp.c, readline-6.2/examples/readlinebuf.h, readline-6.2/examples/rl-fgets.c, readline-6.2/examples/rl.c, readline-6.2/examples/rlcat.c, readline-6.2/examples/rlevent.c, readline-6.2/examples/rlptytest.c, readline-6.2/examples/rltest.c, readline-6.2/examples/rlversion.c, readline-6.2/examples/rlwrap-0.30.tar.gz, readline-6.2/examples/autoconf/BASH_CHECK_LIB_TERMCAP, readline-6.2/examples/autoconf/RL_LIB_READLINE_VERSION, readline-6.2/examples/autoconf/wi_LIB_READLINE, readline-6.2/examples/rlfe/ChangeLog, readline-6.2/examples/rlfe/Makefile.in, readline-6.2/examples/rlfe/README, readline-6.2/examples/rlfe/config.h.in, readline-6.2/examples/rlfe/configure, readline-6.2/examples/rlfe/configure.in, readline-6.2/examples/rlfe/extern.h, readline-6.2/examples/rlfe/os.h, readline-6.2/examples/rlfe/pty.c, readline-6.2/examples/rlfe/rlfe.c, readline-6.2/examples/rlfe/screen.h, readline-6.2/shlib/Makefile.in, readline-6.2/support/config.guess, readline-6.2/support/config.rpath, readline-6.2/support/config.sub, readline-6.2/support/install.sh, readline-6.2/support/mkdirs, readline-6.2/support/mkdist, readline-6.2/support/mkinstalldirs, readline-6.2/support/shlib-install, readline-6.2/support/shobj-conf, readline-6.2/support/wcwidth.c: New files.
Diffstat (limited to 'readline-6.2/rltypedefs.h')
-rw-r--r--readline-6.2/rltypedefs.h93
1 files changed, 93 insertions, 0 deletions
diff --git a/readline-6.2/rltypedefs.h b/readline-6.2/rltypedefs.h
new file mode 100644
index 0000000..60f29a1
--- /dev/null
+++ b/readline-6.2/rltypedefs.h
@@ -0,0 +1,93 @@
+/* rltypedefs.h -- Type declarations for readline functions. */
+
+/* Copyright (C) 2000-2009 Free Software Foundation, Inc.
+
+ This file is part of the GNU Readline Library (Readline), a library
+ for reading lines of text with interactive input and history editing.
+
+ Readline 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 3 of the License, or
+ (at your option) any later version.
+
+ Readline 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 Readline. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef _RL_TYPEDEFS_H_
+#define _RL_TYPEDEFS_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Old-style */
+
+#if !defined (_FUNCTION_DEF)
+# define _FUNCTION_DEF
+
+typedef int Function ();
+typedef void VFunction ();
+typedef char *CPFunction ();
+typedef char **CPPFunction ();
+
+#endif /* _FUNCTION_DEF */
+
+/* New style. */
+
+#if !defined (_RL_FUNCTION_TYPEDEF)
+# define _RL_FUNCTION_TYPEDEF
+
+/* Bindable functions */
+typedef int rl_command_func_t PARAMS((int, int));
+
+/* Typedefs for the completion system */
+typedef char *rl_compentry_func_t PARAMS((const char *, int));
+typedef char **rl_completion_func_t PARAMS((const char *, int, int));
+
+typedef char *rl_quote_func_t PARAMS((char *, int, char *));
+typedef char *rl_dequote_func_t PARAMS((char *, int));
+
+typedef int rl_compignore_func_t PARAMS((char **));
+
+typedef void rl_compdisp_func_t PARAMS((char **, int, int));
+
+/* Type for input and pre-read hook functions like rl_event_hook */
+typedef int rl_hook_func_t PARAMS((void));
+
+/* Input function type */
+typedef int rl_getc_func_t PARAMS((FILE *));
+
+/* Generic function that takes a character buffer (which could be the readline
+ line buffer) and an index into it (which could be rl_point) and returns
+ an int. */
+typedef int rl_linebuf_func_t PARAMS((char *, int));
+
+/* `Generic' function pointer typedefs */
+typedef int rl_intfunc_t PARAMS((int));
+#define rl_ivoidfunc_t rl_hook_func_t
+typedef int rl_icpfunc_t PARAMS((char *));
+typedef int rl_icppfunc_t PARAMS((char **));
+
+typedef void rl_voidfunc_t PARAMS((void));
+typedef void rl_vintfunc_t PARAMS((int));
+typedef void rl_vcpfunc_t PARAMS((char *));
+typedef void rl_vcppfunc_t PARAMS((char **));
+
+typedef char *rl_cpvfunc_t PARAMS((void));
+typedef char *rl_cpifunc_t PARAMS((int));
+typedef char *rl_cpcpfunc_t PARAMS((char *));
+typedef char *rl_cpcppfunc_t PARAMS((char **));
+
+#endif /* _RL_FUNCTION_TYPEDEF */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _RL_TYPEDEFS_H_ */