1 // ------------------------------------------------
7 // (c) 2002 peercast.org
8 // ------------------------------------------------
9 // This program is free software; you can redistribute it and/or modify
10 // it under the terms of the GNU General Public License as published by
11 // the Free Software Foundation; either version 2 of the License, or
12 // (at your option) any later version.
14 // This program is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 // GNU General Public License for more details.
18 // ------------------------------------------------
25 // -----------------------------------------
29 bool openReadOnly(const char *);
30 bool openWriteReplace(const char *);
35 bool isName(const char *);
41 void writeSection(const char *);
42 void writeIntValue(const char *, int);
43 void writeStrValue(const char *, const char *);
44 void writeBoolValue(const char *, int);
45 void writeLine(const char *);
50 char *nameStr,*valueStr;