diff options
Diffstat (limited to 'vendor/mcmc/mcmc.c')
-rw-r--r-- | vendor/mcmc/mcmc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/mcmc/mcmc.c b/vendor/mcmc/mcmc.c index 3bd40b7..cdd5142 100644 --- a/vendor/mcmc/mcmc.c +++ b/vendor/mcmc/mcmc.c @@ -361,6 +361,11 @@ int mcmc_parse_buf(void *c, char *buf, size_t read, mcmc_resp_t *r) { return _mcmc_parse_response(ctx, r); } +int mcmc_bare_parse_buf(char *buf, size_t read, mcmc_resp_t *r) { + mcmc_ctx_t ctx; + return mcmc_parse_buf(&ctx, buf, read, r); +} + /*** Functions wrapping syscalls **/ // TODO: should be able to flip between block and nonblock. |