__buf_alloc
int __buf_alloc(const _sasl_global_context_t *gctx, char **rwbuf,
__buf_alloc(gctx, rwbuf, curlen, newlen)