s/qmail  3.3.23
Next generation secure email transport
stralloc.h
Go to the documentation of this file.
1 #ifndef STRALLOC_H
2 #define STRALLOC_H
3 
4 #include "gen_alloc.h"
5 
6 GEN_ALLOC_typedef(stralloc,char,s,len,a)
7 
8 int stralloc_ready();
10 int stralloc_copy(stralloc *,stralloc *);
11 int stralloc_cat(stralloc *,stralloc *);
12 int stralloc_copys(stralloc *,char *);
13 int stralloc_cats(stralloc *,char *);
14 int stralloc_copyb(stralloc *,char *,unsigned int);
15 int stralloc_catb(stralloc *,char *,unsigned int);
16 int stralloc_append(); /* beware: this takes a pointer to 1 char */
17 int stralloc_starts(stralloc *,char *);
18 
19 #define stralloc_0(sa) stralloc_append(sa,"")
20 
21 #endif
GEN_ALLOC_typedef(stralloc, char, s, len, a) int stralloc_ready()
unsigned a
Definition: matchup.c:36
int stralloc_readyplus()
int stralloc_copyb(stralloc *, char *, unsigned int)
Definition: stralloc_opyb.c:4
int stralloc_starts(stralloc *, char *)
Definition: stralloc_arts.c:5
int stralloc_copy(stralloc *, stralloc *)
Definition: stralloc_copy.c:4
int stralloc_cat(stralloc *, stralloc *)
Definition: stralloc_cat.c:4
unsigned len
Definition: matchup.c:36
int stralloc_append()
int stralloc_copys(stralloc *, char *)
Definition: stralloc_opys.c:5
int stralloc_cats(stralloc *, char *)
Definition: stralloc_cats.c:5
int stralloc_catb(stralloc *, char *, unsigned int)
Definition: stralloc_catb.c:4