#pragma once
struct buffer
{
char * data;
int length;
int offset;
int next;
int allocated;
};
int buffer_grow(struct buffer *);
int buffer_prepare_at_least(const int, struct buffer *, const int);
int buffer_until(struct buffer *, const char *, const int);