Crinit -- Configurable Rootfs Init
Loading...
Searching...
No Matches
confhdl.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
6#ifndef __CONFHDL_H__
7#define __CONFHDL_H__
8
9#include "task.h"
10
27typedef int (*crinitConfigHandler_t)(void *tgt, const char *val, crinitConfigType_t type);
28
29/* Handlers for task-specific options */
30
32int crinitCfgCmdHandler(void *tgt, const char *val, crinitConfigType_t type);
34int crinitCfgStopCmdHandler(void *tgt, const char *val, crinitConfigType_t type);
36int crinitCfgDepHandler(void *tgt, const char *val, crinitConfigType_t type);
38int crinitCfgIoRedirHandler(void *tgt, const char *val, crinitConfigType_t type);
40int crinitCfgNameHandler(void *tgt, const char *val, crinitConfigType_t type);
42int crinitCfgPrvHandler(void *tgt, const char *val, crinitConfigType_t type);
44int crinitCfgRespHandler(void *tgt, const char *val, crinitConfigType_t type);
46int crinitCfgRespRetHandler(void *tgt, const char *val, crinitConfigType_t type);
48int crinitTaskIncludeHandler(void *tgt, const char *val, crinitConfigType_t type);
50int crinitCfgUserHandler(void *tgt, const char *val, crinitConfigType_t type);
52int crinitCfgGroupHandler(void *tgt, const char *val, crinitConfigType_t type);
53
54/* Handlers for global options */
55
57int crinitCfgDebugHandler(void *tgt, const char *val, crinitConfigType_t type);
59int crinitCfgInclSuffixHandler(void *tgt, const char *val, crinitConfigType_t type);
61int crinitCfgInclDirHandler(void *tgt, const char *val, crinitConfigType_t type);
63int crinitCfgShdGpHandler(void *tgt, const char *val, crinitConfigType_t type);
65int crinitCfgTaskSuffixHandler(void *tgt, const char *val, crinitConfigType_t type);
67int crinitCfgTaskDirHandler(void *tgt, const char *val, crinitConfigType_t type);
69int crinitCfgTaskDirSlHandler(void *tgt, const char *val, crinitConfigType_t type);
71int crinitCfgTasksHandler(void *tgt, const char *val, crinitConfigType_t type);
73int crinitCfgSyslogHandler(void *tgt, const char *val, crinitConfigType_t type);
75int crinitCfgElosHandler(void *tgt, const char *val, crinitConfigType_t type);
77int crinitCfgElosServerHandler(void *tgt, const char *val, crinitConfigType_t type);
79int crinitCfgElosPortHandler(void *tgt, const char *val, crinitConfigType_t type);
81int crinitCfgElosEventPollIntervalHandler(void *tgt, const char *val, crinitConfigType_t type);
83int crinitCfgLauncherCmdHandler(void *tgt, const char *val, crinitConfigType_t type);
84
85/* Handlers working in both cases */
86
88int crinitCfgEnvHandler(void *tgt, const char *val, crinitConfigType_t type);
90int crinitCfgFilterHandler(void *tgt, const char *val, crinitConfigType_t type);
91
92/* Handlers for parsing the Kernel command line */
93
95int crinitCfgSigKeyDirHandler(void *tgt, const char *val, crinitConfigType_t type);
97int crinitCfgSignaturesHandler(void *tgt, const char *val, crinitConfigType_t type);
98
99#endif /* __CONFHDL_H__ */
int crinitCfgFilterHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:325
int crinitCfgTasksHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:710
int crinitCfgDebugHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:580
int crinitCfgRespHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:401
int crinitCfgNameHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:389
int crinitCfgSigKeyDirHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:906
int crinitCfgUserHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:452
int crinitCfgTaskDirHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:669
int crinitCfgGroupHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:491
int crinitCfgTaskSuffixHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:651
int crinitCfgDepHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:167
int crinitCfgEnvHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:294
int(* crinitConfigHandler_t)(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.h:27
int crinitCfgStopCmdHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:144
int crinitCfgElosPortHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:845
int crinitCfgIoRedirHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:365
int crinitCfgRespRetHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:412
int crinitCfgShdGpHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:634
int crinitCfgInclSuffixHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:598
int crinitTaskIncludeHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:423
int crinitCfgLauncherCmdHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:886
int crinitCfgElosServerHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:827
int crinitCfgElosEventPollIntervalHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:868
int crinitCfgInclDirHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:614
int crinitCfgTaskDirSlHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:691
int crinitCfgSignaturesHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:918
int crinitCfgPrvHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:227
int crinitCfgCmdHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:122
int crinitCfgSyslogHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:784
int crinitCfgElosHandler(void *tgt, const char *val, crinitConfigType_t type)
Definition confhdl.c:801
crinitConfigType_t
Definition confparse.h:151
Header defining the data structures belonging to a single task and related functions.