MGE System Utility Library - Full Internal Documentation  v1.4.7
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  * 06/12/2021 MG 1.0.4 Tighten SPDX tag. *
26  * *
27  ************************************************************************
28  */
29 
30 #include <portability.h>
31 
32 BEGIN_C_DECLS
33 
34 static char *getparamline(char *, FILE *);
35 
36 static int parseline(struct confsection *, int, char *);
37 
38 static int parsesection(struct confsection *, int, char *);
39 
40 static int validatesection(struct confsection *, int, char *);
41 
42 static int parseparam(char *);
43 
44 static int isolatekey(char *, char *, char *);
45 
46 static int isolatevalue(char *, char *, char *);
47 
48 static int validatekeyvalue(char *, char *);
49 
50 static int chkmandatories(struct confsection *, int);
51 
52 static int chkkeys(struct confsection *);
53 
54 static int chkfileerr(FILE *);
55 
56 END_C_DECLS
57 
static int parseline(struct confsection *, int, char *)
static int chkkeys(struct confsection *)
static BEGIN_C_DECLS char * getparamline(char *, FILE *)
static int validatekeyvalue(char *, char *)
static int isolatekey(char *, char *, char *)
static int chkmandatories(struct confsection *, int)
static int parseparam(char *)
static int chkfileerr(FILE *)
static int parsesection(struct confsection *, int, char *)
static int isolatevalue(char *, char *, char *)
static int validatesection(struct confsection *, int, char *)
Configuration section definition.
Definition: configfile.h:60