New function ds_put_printable().
[openvswitch] / include / dynamic-string.h
index ea69c6af68d6e0f1a198e53620da7dbcd2df2c9c..c85756dbe9f4f1dfe83b71ea3e15dfe42db5e66d 100644 (file)
@@ -56,6 +56,7 @@ void ds_put_cstr(struct ds *, const char *);
 void ds_put_format(struct ds *, const char *, ...) PRINTF_FORMAT(2, 3);
 void ds_put_format_valist(struct ds *, const char *, va_list)
     PRINTF_FORMAT(2, 0);
+void ds_put_printable(struct ds *, const char *, size_t);
 void ds_put_hex_dump(struct ds *ds, const void *buf_, size_t size,
                      uintptr_t ofs, bool ascii);
 char *ds_cstr(struct ds *);