MGE System Utility Library - Full Internal Documentation  v1.1.3
Library of system utility functions.
internal.h
Go to the documentation of this file.
1 
16 /* **********************************************************************
17  * *
18  * Changelog *
19  * *
20  * Date Author Version Description *
21  * *
22  * 13/05/2018 MG 1.0.1 Started ChangeLog. *
23  * 16/05/2019 MG 1.0.2 Collapse AT sub-projects into one. *
24  * 30/10/2019 MG 1.0.3 Apply clang-format. *
25  * *
26  ************************************************************************
27  */
28 
29 #include <portability.h>
30 
31 BEGIN_C_DECLS
32 
33 static char *getparamline(char *, FILE *);
34 
35 static int parseline(struct confsection *, int, char *);
36 
37 static int parsesection(struct confsection *, int, char *);
38 
39 static int validatesection(struct confsection *, int, char *);
40 
41 static int parseparam(char *);
42 
43 static int isolatekey(char *, char *, char *);
44 
45 static int isolatevalue(char *, char *, char *);
46 
47 static int validatekeyvalue(char *, char *);
48 
49 static int chkmandatories(struct confsection *, int);
50 
51 static int chkkeys(struct confsection *);
52 
53 static int chkfileerr(FILE *);
54 
55 END_C_DECLS
56 
static int chkmandatories(struct confsection *, int)
static int isolatekey(char *, char *, char *)
Configuration section definition.
Definition: configfile.h:59
static int parseline(struct confsection *, int, char *)
static BEGIN_C_DECLS char * getparamline(char *, FILE *)
static int isolatevalue(char *, char *, char *)
static int chkfileerr(FILE *)
static int parseparam(char *)
static int validatekeyvalue(char *, char *)
static int chkkeys(struct confsection *)
static int parsesection(struct confsection *, int, char *)
static int validatesection(struct confsection *, int, char *)