7 * Your typical dynamic character string buffer.
16 * Create and destroy the buffer.
19 void abuf_free(abuf *);
22 * Erase contents of the buffer (without destroying it).
24 void abuf_clear(abuf *);
27 * Add characters to the buffer.
29 void abuf_str(abuf *, const char *str);
30 void abuf_buf(abuf *, const abuf *);
31 void abuf_add_bytes(abuf *, const char *, size_t);
32 int abuf_printf(abuf *, const char *fmt, ...)
33 __attribute__((format(printf, 2, 3)));
34 int abuf_vprintf(abuf *, const char *fmt, va_list);
36 #endif /* ASN1_BUFFER_H */