[readline] Add replace_string()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2011-03-29 16:40:23 +01:00
parent 6a6dd5c452
commit d6f2408f2c
2 changed files with 13 additions and 0 deletions

View File

@@ -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 */