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