Crinit -- Configurable Rootfs Init
optfeat.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: MIT
6 #ifndef __OPTFEAT_H__
7 #define __OPTFEAT_H__
8 
12 typedef enum crinitHookType_t {
13  INIT,
14  EXIT,
18 
34 int crinitFeatureHook(const char *sysFeatName, crinitHookType_t type, void *data);
35 
36 #endif /*__OPTFEAT_H__ */
crinitHookType_t
Definition: optfeat.h:12
@ INIT
Initialization of the optional feature (eg. setup database).
Definition: optfeat.h:13
@ START
The optional feature is triggered by a specific event.
Definition: optfeat.h:15
@ EXIT
Cleanup of the optional feature (remove temporary files).
Definition: optfeat.h:14
@ TASK_ADDED
Hook handles the addition of a new task.
Definition: optfeat.h:16
int crinitFeatureHook(const char *sysFeatName, crinitHookType_t type, void *data)
Definition: optfeat.c:42