diff options
author | Michael Brown <mcb30@ipxe.org> | 2011-03-29 16:40:23 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2011-03-30 19:26:48 +0100 |
commit | d6f2408f2cf8abce51bb70f5ff2a2989818f0025 (patch) | |
tree | 5bda6666db176cce440ea4cb64be8f8252e22f68 /src/include/ipxe/editstring.h | |
parent | 6a6dd5c4524774a6a32cb5c49713ae3250f98da0 (diff) | |
download | ipxe-d6f2408f2cf8abce51bb70f5ff2a2989818f0025.tar.gz |
[readline] Add replace_string()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/editstring.h')
-rw-r--r-- | src/include/ipxe/editstring.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/editstring.h b/src/include/ipxe/editstring.h index 26cb434cf..2ef546a63 100644 --- a/src/include/ipxe/editstring.h +++ b/src/include/ipxe/editstring.h @@ -41,6 +41,8 @@ static inline void init_editstring ( struct edit_string *string, char *buf, string->len = len; } +extern void replace_string ( struct edit_string *string, + const char *replacement ) __nonnull; extern int edit_string ( struct edit_string *string, int key ) __nonnull; #endif /* _IPXE_EDITSTRING_H */ |