aboutsummaryrefslogtreecommitdiff
path: root/histedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'histedit.h')
-rw-r--r--histedit.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/histedit.h b/histedit.h
index 0ae5abaf83af..5b5bad1a021a 100644
--- a/histedit.h
+++ b/histedit.h
@@ -1,4 +1,4 @@
-/* $NetBSD: histedit.h,v 1.55 2016/02/17 19:47:49 christos Exp $ */
+/* $NetBSD: histedit.h,v 1.57 2017/09/01 10:19:10 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -226,6 +226,7 @@ int history(History *, HistEvent *, int, ...);
#define H_DELDATA 24 /* , int, histdata_t *);*/
#define H_REPLACE 25 /* , const char *, histdata_t); */
#define H_SAVE_FP 26 /* , FILE *); */
+#define H_NSAVE_FP 27 /* , size_t, FILE *); */
@@ -261,6 +262,8 @@ typedef struct lineinfow {
const wchar_t *lastchar;
} LineInfoW;
+typedef int (*el_rfunc_t)(EditLine *, wchar_t *);
+
const wchar_t *el_wgets(EditLine *, int *);
int el_wgetc(EditLine *, wchar_t *);
void el_wpush(EditLine *, const wchar_t *);