X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fstr.h;h=a134079f90dd52f7c359d7ad4fba3049c5c85203;hb=1b49116188b31ff17ee1a85e944488a7f254b847;hp=b9be394c59c46a95f1f593e970ac83e4cdb8d7b8;hpb=c9b92e317e7426db24fce2636134e1e46eb05d40;p=pspp-builds.git diff --git a/src/libpspp/str.h b/src/libpspp/str.h index b9be394c..a134079f 100644 --- a/src/libpspp/str.h +++ b/src/libpspp/str.h @@ -20,6 +20,7 @@ #include #include #include +#include #include #include @@ -223,4 +224,10 @@ char *ds_put_uninit (struct string *st, size_t incr); /* calls relocate from gnulib on ST */ void ds_relocate (struct string *st); + +void u8_buf_copy_rpad (uint8_t *dst, size_t dst_size, + const uint8_t *src, size_t src_size, + char pad); + + #endif /* str_h */