X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fbbuf.h;h=2585bec3c1fa9bd170bef9f06c160cca9bada5e7;hb=f0459952ab7a84b2a2e16ee38456087b0986a228;hp=c62511c4f85b9e33f13a98a662b90a663d118a22;hpb=cad27e97e6370f96903d42aaf345c099af0a03bd;p=libucw.git diff --git a/lib/bbuf.h b/lib/bbuf.h index c62511c4..2585bec3 100644 --- a/lib/bbuf.h +++ b/lib/bbuf.h @@ -1,5 +1,5 @@ /* - * A simple growing buffer for byte-sized items. + * UCW Library -- A simple growing buffer for byte-sized items. * * (c) 2004 Martin Mares * @@ -14,4 +14,9 @@ #define GBUF_PREFIX(x) bb_##x #include "lib/gbuf.h" +char *bb_vprintf(bb_t *bb, char *fmt, va_list args); +char *bb_printf(bb_t *bb, char *fmt, ...); +char *bb_vprintf_at(bb_t *bb, uns ofs, char *fmt, va_list args); +char *bb_printf_at(bb_t *bb, uns ofs, char *fmt, ...); + #endif