Deleted Added
full compact
histedit.h (148834) histedit.h (170511)
1/*-
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Christos Zoulas of Cornell University.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 16 unchanged lines hidden (view full) ---

25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * @(#)histedit.h 8.2 (Berkeley) 1/3/94
1/*-
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Christos Zoulas of Cornell University.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 16 unchanged lines hidden (view full) ---

25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * @(#)histedit.h 8.2 (Berkeley) 1/3/94
33 * $NetBSD: histedit.h,v 1.28 2005/07/14 15:00:58 christos Exp $
34 * $FreeBSD: head/include/histedit.h 148834 2005-08-07 20:55:59Z stefanf $
33 * $NetBSD: histedit.h,v 1.31 2006/12/15 22:13:33 christos Exp $
34 * $FreeBSD: head/include/histedit.h 170511 2007-06-10 19:06:09Z stefanf $
35 */
36
37/*
38 * histedit.h: Line editor and history interface.
39 */
40#ifndef _HISTEDIT_H_
41#define _HISTEDIT_H_
42

--- 56 unchanged lines hidden (view full) ---

99 * Parses argc, argv array and executes builtin editline commands
100 */
101int el_parse(EditLine *, int, const char **);
102
103/*
104 * Low level editline access functions
105 */
106int el_set(EditLine *, int, ...);
35 */
36
37/*
38 * histedit.h: Line editor and history interface.
39 */
40#ifndef _HISTEDIT_H_
41#define _HISTEDIT_H_
42

--- 56 unchanged lines hidden (view full) ---

99 * Parses argc, argv array and executes builtin editline commands
100 */
101int el_parse(EditLine *, int, const char **);
102
103/*
104 * Low level editline access functions
105 */
106int el_set(EditLine *, int, ...);
107int el_get(EditLine *, int, void *);
107int el_get(EditLine *, int, ...);
108#if 0
109unsigned char _el_fn_complete(EditLine *, int);
110#endif
111
112/*
113 * el_set/el_get parameters
114 */
115#define EL_PROMPT 0 /* , el_pfunc_t); */

--- 9 unchanged lines hidden (view full) ---

125 /* , el_func_t); */
126#define EL_HIST 10 /* , hist_fun_t, const char *); */
127#define EL_EDITMODE 11 /* , int); */
128#define EL_RPROMPT 12 /* , el_pfunc_t); */
129#define EL_GETCFN 13 /* , el_rfunc_t); */
130#define EL_CLIENTDATA 14 /* , void *); */
131#define EL_UNBUFFERED 15 /* , int); */
132#define EL_PREP_TERM 16 /* , int); */
108#if 0
109unsigned char _el_fn_complete(EditLine *, int);
110#endif
111
112/*
113 * el_set/el_get parameters
114 */
115#define EL_PROMPT 0 /* , el_pfunc_t); */

--- 9 unchanged lines hidden (view full) ---

125 /* , el_func_t); */
126#define EL_HIST 10 /* , hist_fun_t, const char *); */
127#define EL_EDITMODE 11 /* , int); */
128#define EL_RPROMPT 12 /* , el_pfunc_t); */
129#define EL_GETCFN 13 /* , el_rfunc_t); */
130#define EL_CLIENTDATA 14 /* , void *); */
131#define EL_UNBUFFERED 15 /* , int); */
132#define EL_PREP_TERM 16 /* , int); */
133#define EL_GETTC 17 /* , const char *, ..., NULL); */
134#define EL_GETFP 18 /* , int, FILE **) */
135#define EL_SETFP 19 /* , int, FILE *) */
133
134#define EL_BUILTIN_GETCFN (NULL)
135
136/*
137 * Source named file or $PWD/.editrc or $HOME/.editrc
138 */
139int el_source(EditLine *, const char *);
140

--- 87 unchanged lines hidden ---
136
137#define EL_BUILTIN_GETCFN (NULL)
138
139/*
140 * Source named file or $PWD/.editrc or $HOME/.editrc
141 */
142int el_source(EditLine *, const char *);
143

--- 87 unchanged lines hidden ---