Crinit -- Configurable Rootfs Init
Loading...
Searching...
No Matches
confmap.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
6#ifndef __CONFMAP_H__
7#define __CONFMAP_H__
8
9#include "confhdl.h"
10
23
35extern const size_t crinitTaskCfgMapSize;
36
48extern const size_t crinitSeriesCfgMapSize;
49
61extern const size_t crinitKCmdlineCfgMapSize;
62
73 const char *keyStr);
74
75#endif /* __CONFMAP_H__ */
Header defining type- and target-specific handler functions for configuration parsing.
int(* crinitConfigHandler_t)(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.h:27
const size_t crinitTaskCfgMapSize
Definition confmap.c:27
const size_t crinitKCmdlineCfgMapSize
Definition confmap.c:54
const size_t crinitSeriesCfgMapSize
Definition confmap.c:48
const crinitConfigMapping_t crinitKCmdlineCfgMap[]
Definition confmap.c:50
const crinitConfigMapping_t crinitTaskCfgMap[]
Definition confmap.c:13
const crinitConfigMapping_t * crinitFindConfigMapping(const crinitConfigMapping_t *map, size_t mapSize, const char *keyStr)
Definition confmap.c:59
const crinitConfigMapping_t crinitSeriesCfgMap[]
Definition confmap.c:29
crinitConfigs_t
Definition confparse.h:117
Definition confmap.h:14
const char * configKey
The string representation (name) of the option.
Definition confmap.h:16
bool includeSafe
If the configuration option may be used inside an include file.
Definition confmap.h:19
crinitConfigs_t config
The index of the configuration option.
Definition confmap.h:15
crinitConfigHandler_t cfgHandler
Definition confmap.h:20
bool arrayLike
Definition confmap.h:17