|
PebbleOS
|
Definitions used to implement runlevels. More...
Data Structures | |
| struct | ServiceRunLevelSetting |
| Runlevel control of one service. More... | |
Enumerations | |
| enum | RunLevelBit |
| Bit of each runlevel in an enable mask. More... | |
Definitions used to implement runlevels.
Runlevels are defined in the runlevel.def X-macro file, from which RunLevel and RunLevelBit are built. A service's enable mask is the bitwise OR of the RunLevelBit of every runlevel it is enabled in; it is enabled in runlevel when (enable_mask & (1 << runlevel)) != 0.
The short R_<name> names keep masks readable. Only include this header from the files that define masks.
| enum RunLevelBit |
Bit of each runlevel in an enable mask.
One R_<name> value, (1 << number), per entry of runlevel.def.