]> jfr.im git - irc/quakenet/newserv.git/blob - lib/sstring.h
BUILD: add require-all build mode
[irc/quakenet/newserv.git] / lib / sstring.h
1 /* sstring.h - Declaration of "static strings" functions */
2
3 #ifndef __SSTRING_H
4 #define __SSTRING_H
5
6 typedef struct sstring {
7 short length;
8 char content[];
9 } sstring;
10
11 /* Externally visibly max string length */
12 #define SSTRING_MAX 512
13
14 sstring *getsstring(const char *, int);
15 void freesstring(sstring *);
16 int sstringcompare(sstring *ss1, sstring *ss2);
17
18 #endif /* __SSTRING_H */