MGE System Utility Library - Full Internal Documentation v1.4.6
Library of system utility functions.
Loading...
Searching...
No Matches
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
32BEGIN_C_DECLS
33
34static char *getparamline(char *, FILE *);
35
36static int parseline(struct confsection *, int, char *);
37
38static int parsesection(struct confsection *, int, char *);
39
40static int validatesection(struct confsection *, int, char *);
41
42static int parseparam(char *);
43
44static int isolatekey(char *, char *, char *);
45
46static int isolatevalue(char *, char *, char *);
47
48static int validatekeyvalue(char *, char *);
49
50static int chkmandatories(struct confsection *, int);
51
52static int chkkeys(struct confsection *);
53
54static int chkfileerr(FILE *);
55
56END_C_DECLS
57
static int parseline(struct confsection *, int, char *)
static int chkkeys(struct confsection *)
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 BEGIN_C_DECLS char * getparamline(char *, FILE *)
static int isolatevalue(char *, char *, char *)
static int validatesection(struct confsection *, int, char *)
Configuration section definition.
Definition: configfile.h:60