summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>1999-08-20 01:17:12 +0000
committermdodd <mdodd@FreeBSD.org>1999-08-20 01:17:12 +0000
commitb47bf1ab5f378718e3afceba062ddbe540147e75 (patch)
tree5b335b96bb47515c3169dd10772cd3d0180deb62 /include
parent90786531ff6e7a3610108631f31c3cb35c737ac4 (diff)
downloadFreeBSD-src-b47bf1ab5f378718e3afceba062ddbe540147e75.zip
FreeBSD-src-b47bf1ab5f378718e3afceba062ddbe540147e75.tar.gz
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.
Diffstat (limited to 'include')
-rw-r--r--include/histedit.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/histedit.h b/include/histedit.h
index 2050e41..6164103 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.
OpenPOWER on IntegriCloud