summaryrefslogtreecommitdiffstats
path: root/tmpbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmpbuffer.h')
-rw-r--r--tmpbuffer.h17
1 files changed, 17 insertions, 0 deletions
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 <stdarg.h>
+
+#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
+