From 90cc1fbc53153f0c7175c41720a40fd543a55bca Mon Sep 17 00:00:00 2001 From: "Matthew N. Dodd" Date: Fri, 20 Aug 1999 01:17:12 +0000 Subject: Add 2 functions: el_data_set() and el_data_get() which do what you would expect. (Allow user data to be associated with an EditLine context). As this changes no existing interfaces and doesn't alter any structs visable to the user I've been told that its not necessary to bump the version of the library. --- include/histedit.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/histedit.h b/include/histedit.h index 2050e413cdfd..6164103758ac 100644 --- a/include/histedit.h +++ b/include/histedit.h @@ -1,4 +1,4 @@ -/* $Id$ */ +/* $Id: histedit.h,v 1.3 1997/06/25 09:47:31 msmith Exp $ */ /* $NetBSD: histedit.h,v 1.5 1997/04/11 17:52:45 christos Exp $ */ /*- @@ -131,6 +131,9 @@ int el_source __P((EditLine *, const char *)); */ void el_resize __P((EditLine *)); +void el_data_set __P((EditLine *, void *)); +void * el_data_get __P((EditLine *)); + /* * User-defined function interface. -- cgit v1.3