27 static size_t gv_string_writer(
GVJ_t *job,
const char *
s,
size_t len)
31 int newlen = bap->
len + len;
32 if (newlen > bap->
sz) {
36 bap->
data = (
char*)realloc(bap->
data, bap->
sz);
38 memcpy (bap->
data+bap->
len, s, len);
48 static size_t gv_channel_writer(
GVJ_t *job,
const char *s,
size_t len)
void gv_writer_reset(GVC_t *gvc)
void gv_string_writer_init(GVC_t *gvc)
void gv_channel_writer_init(GVC_t *gvc)
size_t(* write_fn)(GVJ_t *job, const char *s, size_t len)