blob: 67dad489960a6ae8897e25a8a34b0319c0d4af8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef CONFIGFILE_H
# define CONFIGFILE_H
# include "main.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
|