X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-lib%2Fbuffer.h;h=6d62f2a4363af567135926384d8a1132337ef877;hb=0afd88891b641bb01d18f0e39890f5e460a0c02f;hp=dd9d936e62e336741ecf782ef31bdcb981092439;hpb=d9fb9e0065b85ee47710bbcba7a81a5266e9e948;p=apps%2Fmadmutt.git diff --git a/lib-lib/buffer.h b/lib-lib/buffer.h index dd9d936..6d62f2a 100644 --- a/lib-lib/buffer.h +++ b/lib-lib/buffer.h @@ -93,6 +93,12 @@ static inline void buffer_reset(buffer_t *buf) { } } +ssize_t buffer_addvf(buffer_t *buf, const char *fmt, va_list) + __attribute__((format(printf, 2, 0))); + +ssize_t buffer_addf(buffer_t *buf, const char *fmt, ...) + __attribute__((format(printf, 2, 3))); + /****** LEGACY BUFFERS *******/