1/* $FreeBSD: head/contrib/libreadline/readline.h 165675 2006-12-31 09:22:31Z ache $ */
2/* Readline.h -- the names of functions callable from within readline. */
3
4/* Copyright (C) 1987-2005 Free Software Foundation, Inc.
5
6 This file is part of the GNU Readline Library, a library for
7 reading lines of text with interactive input and history editing.
8
9 The GNU Readline Library is free software; you can redistribute it
--- 26 unchanged lines hidden (view full) ---
36#else
37# include <readline/rlstdc.h>
38# include <readline/rltypedefs.h>
39# include <readline/keymaps.h>
40# include <readline/tilde.h>
41#endif
42
43/* Hex-encoded Readline version number. */
44#define RL_READLINE_VERSION 0x0502 /* Readline 5.2 */
45#define RL_VERSION_MAJOR 5
46#define RL_VERSION_MINOR 2
47
48/* Readline data structures. */
49
50/* Maintaining the state of undo. We remember individual deletes and inserts
51 on a chain of things to do. */
52
53/* The actions that undo knows how to undo. Notice that UNDO_DELETE means
54 to insert some text, and UNDO_INSERT means to delete some text. I.e.,
--- 698 unchanged lines hidden (view full) ---
753
754/* If non-zero, then disallow duplicates in the matches. */
755extern int rl_ignore_completion_duplicates;
756
757/* If this is non-zero, completion is (temporarily) inhibited, and the
758 completion character will be inserted as any other. */
759extern int rl_inhibit_completion;
760
761/* Input error; can be returned by (*rl_getc_function) if readline is reading
762 a top-level command (RL_ISSTATE (RL_STATE_READCMD)). */
763#define READERR (-2)
764
765/* Definitions available for use by readline clients. */
766#define RL_PROMPT_START_IGNORE '\001'
767#define RL_PROMPT_END_IGNORE '\002'
768
769/* Possible values for do_replace argument to rl_filename_quoting_function,
770 called by rl_complete_internal. */
771#define NO_MATCH 0
772#define SINGLE_MATCH 1
--- 89 unchanged lines hidden ---
2/* Readline.h -- the names of functions callable from within readline. */
3
4/* Copyright (C) 1987-2005 Free Software Foundation, Inc.
5
6 This file is part of the GNU Readline Library, a library for
7 reading lines of text with interactive input and history editing.
8
9 The GNU Readline Library is free software; you can redistribute it
--- 26 unchanged lines hidden (view full) ---
36#else
37# include <readline/rlstdc.h>
38# include <readline/rltypedefs.h>
39# include <readline/keymaps.h>
40# include <readline/tilde.h>
41#endif
42
43/* Hex-encoded Readline version number. */
44#define RL_READLINE_VERSION 0x0502 /* Readline 5.2 */
45#define RL_VERSION_MAJOR 5
46#define RL_VERSION_MINOR 2
47
48/* Readline data structures. */
49
50/* Maintaining the state of undo. We remember individual deletes and inserts
51 on a chain of things to do. */
52
53/* The actions that undo knows how to undo. Notice that UNDO_DELETE means
54 to insert some text, and UNDO_INSERT means to delete some text. I.e.,
--- 698 unchanged lines hidden (view full) ---
753
754/* If non-zero, then disallow duplicates in the matches. */
755extern int rl_ignore_completion_duplicates;
756
757/* If this is non-zero, completion is (temporarily) inhibited, and the
758 completion character will be inserted as any other. */
759extern int rl_inhibit_completion;
760
761/* Input error; can be returned by (*rl_getc_function) if readline is reading
762 a top-level command (RL_ISSTATE (RL_STATE_READCMD)). */
763#define READERR (-2)
764
765/* Definitions available for use by readline clients. */
766#define RL_PROMPT_START_IGNORE '\001'
767#define RL_PROMPT_END_IGNORE '\002'
768
769/* Possible values for do_replace argument to rl_filename_quoting_function,
770 called by rl_complete_internal. */
771#define NO_MATCH 0
772#define SINGLE_MATCH 1
--- 89 unchanged lines hidden ---