]>
Commit | Line | Data |
---|---|---|
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 |
6 | typedef 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 | |
14 | sstring *getsstring(const char *, int); | |
15 | void freesstring(sstring *); | |
16 | int sstringcompare(sstring *ss1, sstring *ss2); | |
c5ec4806 CP |
17 | |
18 | #endif /* __SSTRING_H */ |