From bedd2e7ccb1595c23e159eaa952ae1b0b5a3d2ad Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Sat, 15 Mar 2014 01:49:50 +0100 Subject: Lean and mean initial commit Not much functionality yet --- tmpbuffer.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tmpbuffer.h (limited to 'tmpbuffer.h') diff --git a/tmpbuffer.h b/tmpbuffer.h new file mode 100644 index 0000000..d923e29 --- /dev/null +++ b/tmpbuffer.h @@ -0,0 +1,17 @@ +#ifndef _TMPBUFFER_H_ +#define _TMPBUFFER_H_ + +#include + +#define TMPLEN 512 + +struct string; + +char* tmpbuffer_get(); + +void tmpbuffer_format(struct string *dest, const char *format, ...); + +void tmpbuffer_formatva(struct string *dest, const char *format, va_list args); + +#endif + -- cgit v1.2.3-55-g7522