diff options
author | bapt <bapt@FreeBSD.org> | 2015-02-08 22:11:24 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-02-08 22:11:24 +0000 |
commit | 274501ab1e9bdc7bac3ea189e36e648916b35908 (patch) | |
tree | 7f458bb6bff4c945b98341c84db30ce89fe96a82 /lib/libedit/histedit.h | |
parent | cd2062bcd847783bfbf08b368c64a28eb7785d05 (diff) | |
download | FreeBSD-src-274501ab1e9bdc7bac3ea189e36e648916b35908.zip FreeBSD-src-274501ab1e9bdc7bac3ea189e36e648916b35908.tar.gz |
MFC: r265863
libedit: add H_SAVE_FP which saves history to a file pointer.
H_SAVE_FP is similar to H_SAVE but operates on a FILE* instead of a filename.
This is useful when operating in capability mode.
Reviewed by: christos@NetBSD.org, pfg
Diffstat (limited to 'lib/libedit/histedit.h')
-rw-r--r-- | lib/libedit/histedit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libedit/histedit.h b/lib/libedit/histedit.h index 55f1277..7cc5246 100644 --- a/lib/libedit/histedit.h +++ b/lib/libedit/histedit.h @@ -208,6 +208,7 @@ int history(History *, HistEvent *, int, ...); #define H_NEXT_EVDATA 23 /* , const int, histdata_t *); */ #define H_DELDATA 24 /* , int, histdata_t *);*/ #define H_REPLACE 25 /* , const char *, histdata_t); */ +#define H_SAVE_FP 26 /* , FILE*); */ /* |