diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2003-10-31 08:42:25 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2003-10-31 08:42:25 +0000 |
commit | 6ff1c1765c2b4495f0292fe730d9bb9a5daef063 (patch) | |
tree | f9b79c5d3b01533c847610f8410f66661df68535 /lib/libedit/parse.h | |
parent | 4c1c60ce562b0cf6d8cb6e2e49e2b53193359874 (diff) |
Update to NetBSD libedit (from Oct 1, 2003), adding some string
cleaning and history bug fixes. The code includes GNU libreadline
functionality, but the corresponding header files are not installed,
since some libreadline functions are missing. There are some minor API
changes, notably:
old: EditLine *el_init(const char *, FILE *, FILE *);
new: EditLine *el_init(const char *, FILE *, FILE *, FILE *);
old: HistEvent *history(History *h, int op, ...);
new: int history(History *h, HistEvent *ev, int op, ...); plus some
changes in operation names. See editline(3) for details.
Tested by djm@, mouring@, jmc@.
ok deraadt@
Diffstat (limited to 'lib/libedit/parse.h')
-rw-r--r-- | lib/libedit/parse.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libedit/parse.h b/lib/libedit/parse.h index f2a2ed2a539..51b1207c89a 100644 --- a/lib/libedit/parse.h +++ b/lib/libedit/parse.h @@ -1,5 +1,5 @@ -/* $OpenBSD: parse.h,v 1.5 2003/06/02 20:18:40 millert Exp $ */ -/* $NetBSD: parse.h,v 1.2 1997/01/11 06:48:03 lukem Exp $ */ +/* $OpenBSD: parse.h,v 1.6 2003/10/31 08:42:24 otto Exp $ */ +/* $NetBSD: parse.h,v 1.5 2003/08/07 16:44:32 agc Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -39,11 +39,11 @@ * el.parse.h: Parser functions */ #ifndef _h_el_parse -#define _h_el_parse +#define _h_el_parse -protected int parse_line(EditLine *, const char *); -protected int parse__escape(const char ** const); -protected char * parse__string(char *, const char *); -protected int parse_cmd(EditLine *, const char *); +protected int parse_line(EditLine *, const char *); +protected int parse__escape(const char ** const); +protected char *parse__string(char *, const char *); +protected int parse_cmd(EditLine *, const char *); #endif /* _h_el_parse */ |