summaryrefslogtreecommitdiffstats
path: root/stralloc.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2013-02-04 00:08:53 +0100
committermanuel <manuel@mausz.at>2013-02-04 00:08:53 +0100
commit69aec538b456402170dc723af417ba5c05389c32 (patch)
treee6f34c543f17c6392447ea337b2e2868212424d1 /stralloc.h
downloadqmail-69aec538b456402170dc723af417ba5c05389c32.tar.gz
qmail-69aec538b456402170dc723af417ba5c05389c32.tar.bz2
qmail-69aec538b456402170dc723af417ba5c05389c32.zip
qmail 1.03 import
Diffstat (limited to 'stralloc.h')
-rw-r--r--stralloc.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/stralloc.h b/stralloc.h
new file mode 100644
index 0000000..fca496c
--- /dev/null
+++ b/stralloc.h
@@ -0,0 +1,21 @@
1#ifndef STRALLOC_H
2#define STRALLOC_H
3
4#include "gen_alloc.h"
5
6GEN_ALLOC_typedef(stralloc,char,s,len,a)
7
8extern int stralloc_ready();
9extern int stralloc_readyplus();
10extern int stralloc_copy();
11extern int stralloc_cat();
12extern int stralloc_copys();
13extern int stralloc_cats();
14extern int stralloc_copyb();
15extern int stralloc_catb();
16extern int stralloc_append(); /* beware: this takes a pointer to 1 char */
17extern int stralloc_starts();
18
19#define stralloc_0(sa) stralloc_append(sa,"")
20
21#endif