stralloc.h
author tomas@localhost
Thu, 01 Nov 2007 14:46:11 +0100
changeset 0 c045670f36e9
permissions -rw-r--r--
Imported queue-fix-1.4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     1
#ifndef STRALLOC_H
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     2
#define STRALLOC_H
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     3
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     4
#include "gen_alloc.h"
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     5
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     6
GEN_ALLOC_typedef(stralloc,char,s,len,a)
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     7
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     8
extern int stralloc_ready();
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     9
extern int stralloc_readyplus();
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    10
extern int stralloc_copy();
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    11
extern int stralloc_cat();
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    12
extern int stralloc_copys();
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    13
extern int stralloc_cats();
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    14
extern int stralloc_copyb();
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    15
extern int stralloc_catb();
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    16
extern int stralloc_append(); /* beware: this takes a pointer to 1 char */
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    17
extern int stralloc_starts();
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    18
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    19
#define stralloc_0(sa) stralloc_append(sa,"")
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    20
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    21
#endif