blob: a57fb160e1c94ed41b1ab8a4cd2b059913454119 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef CONFIGFILE_H
#define CONFIGFILE_H
#include "textFile.h"
extern int isYesOrNO(char *s);
extern char* getYesOrNo(int n);
extern int getValue(char *line, char *env, char *val, int len);
extern char* setValue(char *line, char *env, char *val);
extern int getValueInConfigFile(textFile_t *textFile, char *env, char *val, int len);
extern int setValueInConfigFile(textFile_t *textFile, char *env, char *val);
extern void loadValueFromConfigFile(textFile_t *textFile, char *env, char *val, int len, char *butVal);
#endif
|