#ifndef _STRBUF_H
#define _STRBUF_H

#include <stddef.h>

struct strbuf {
  char* items;
  size_t count, capacity;
};

void strbuf_append (struct strbuf* strbuf, char c);

void strbuf_append_str (struct strbuf* strbuf, const char* s);

#endif // _STRBUF_H
