▼ inc | |
common.h | Header for common definitions not related to other specific features |
confconv.h | Definitions related to conversion operations from configuration values to structured data |
confhdl.h | Header defining type- and target-specific handler functions for configuration parsing |
confmap.h | Definitions related to mapping configuration options and their string representations |
confparse.h | Header related to the Config Parser |
crinit-client.h | Public definitions/declarations for using the crinit-client shared library |
crinit-sdefs.h | Definitions shared between crinit's public and internal APIs |
elosio.h | Header related to elos connection |
envset.h | Header defining data types and functions to work with sets of environment variables |
fseries.h | Header defining functions related to the handling of a series of filenames within a directory |
globopt.h | Header related to global option storage |
ioredir.h | Header related to IO redirection types and functions |
lexers.h | Header related to lexers built with re2c, used in the config/envset parser |
list.h | |
logio.h | Header related to debug/log output |
minsetup.h | Header related to minimal early system setup |
notiserv.h | Header related to the notification and service interface |
optfeat.h | Header related to optional behavior dependent on available system features |
procdip.h | Header related to the Process Dispatcher |
rtimcmd.h | Header related to handling of runtime commands received via the notification/service interface |
rtimopmap.h | Header defining the runtime commands available through the notification/service interface |
sockcom.h | Header defining Crinit socket communication functions used internally by the crinit-client library |
task.h | Header defining the data structures belonging to a single task and related functions |
taskdb.h | Header defining the central Task Data Structure and related types/functions |
thrpool.h | Header defining a generic worker thread pool. Used by the notification/service interface to handle socket communication |
version.h | Header definitions related to component versioning |
▼ src | |
confconv.c | Implementations of conversion operations from configuration values to structured data |
confhdl.c | Implementation of type- and target-specific handler functions for configuration parsing |
confmap.c | Implementation file related to mapping configuration options and their string representations |
confparse.c | Implementation of the Config Parser |
crinit-client.c | Implementation of the crinit-client shared library |
crinit-ctl.c | Implementation of the crinit-ctl service program using the crinit-client library |
crinit.c | Implementation of the Crinit main program |
elosio.c | Implementation of elos connection |
envset.c | Implementation file related to working with environment variable sets |
fseries.c | Implementation file related to the handling of a series of filenames within a directory |
globopt.c | Implementation of global option storage |
ioredir.c | Implementation of functions related to IO redirection |
logio.c | Implementation of debug/log output |
machine-id-gen.c | |
minsetup.c | Implementation of minimal early system setup |
notiserv.c | Implementation of the notification and service interface |
optfeat.c | Implementation of optional behavior dependent on available system features |
procdip.c | Implementation of the Process Dispatcher |
rtimcmd.c | Implementation of runtime commands to be triggered by the notification/service interface |
rtimopmap.c | Implementation of functions related to the runtime command opcode map |
sockcom.c | Implementation of socket communication functions for the crinit-client library |
task.c | Implementation of functions related to a single task |
taskdb.c | Implementation of the central Task Database and related functions |
thrpool.c | Implementations of a generic worker thread pool. Used by the notification/service interface to handle socket communication |
▼ test | |
▼ utest | |
► mocks | |
mock-build-rtim-cmd.c | Implementation of a mock function for crinitBuildRtimCmd() |
mock-build-rtim-cmd.h | Header declaring a mock function for crinitBuildRtimCmd() |
mock-calloc.c | Implementation of a mock function for calloc() |
mock-calloc.h | Header declaring a mock function for calloc() |
mock-closedir.c | Implementation of a mock function for closedir() |
mock-closedir.h | Header declaring a mock function for closedir() |
mock-crinit-xfer.c | Implementation of a mock function for crinitXfer() |
mock-crinit-xfer.h | Implementation of a mock function for crinitXfer() |
mock-destroy-rtim-cmd.c | Implementation of a mock function for crinitGlobOptSet() |
mock-destroy-rtim-cmd.h | Header declaring a mock function for crinitDestroyRtimCmd() |
mock-dirfd.c | Implementation of a mock function for dirfd() |
mock-dirfd.h | Header declaring a mock function for dirfd() |
mock-envset-destroy.c | Implementation of a mock function for crinitEnvSetDestroy() |
mock-envset-destroy.h | Header declaring a mock function for crinitEnvSetDestroy() |
mock-envset-init.c | Implementation of a mock function for crinitEnvSetInit() |
mock-envset-init.h | Header declaring a mock function for crinitEnvSetInit() |
mock-err-print.c | Implementation of a mock function for crinitErrPrintFFL() |
mock-err-print.h | Header declaring a mock function for crinitErrPrintFFL() |
mock-errno-print.c | Implementation of a mock function for crinitErrnoPrintFFL() |
mock-errno-print.h | Header declaring a mock function for crinitErrnoPrintFFL() |
mock-free.c | Implementation of a mock function for free() |
mock-free.h | Header declaring a mock function for free() |
mock-fstatat.c | Implementation of a mock function for fstatat() |
mock-fstatat.h | Header declaring a mock function for fstatat() |
mock-glob-opt-set-boolean.c | Implementation of a mock function for crinitGlobOptSetBoolean() |
mock-glob-opt-set-boolean.h | Header declaring a mock function for crinitGlobOptSetBoolean() |
mock-malloc.c | Implementation of a mock function for malloc() |
mock-malloc.h | Header declaring a mock function for malloc() |
mock-opendir.c | Implementation of a mock function for opendir() |
mock-opendir.h | Header declaring a mock function for opendir() |
mock-realloc.c | Implementation of a mock function for malloc() |
mock-realloc.h | Header declaring a mock function for realloc() |
mock-scandir.c | Implementation of a mock function for scandir() |
mock-scandir.h | Header declaring a mock function for scandir() |
mock-set-err-stream.c | Implementation of a mock function for crinitSetErrStream() |
mock-set-err-stream.h | Header declaring a mock function for crinitSetErrStream() |
mock-set-info-stream.c | Implementation of a mock function for crinitSetInfoStream() |
mock-set-info-stream.h | Header declaring a mock function for crinitSetInfoStream() |
mock-stpcpy.c | Implementation of a mock function for stpcpy() |
mock-stpcpy.h | Header declaring a mock function for stpcpy() |
mock-strcmp.c | Implementation of a mock function for strcmp() |
mock-strcmp.h | Header declaring a mock function for strcmp() |
mock-strcpy.c | Implementation of a mock function for strcpy() |
mock-strcpy.h | Header declaring a mock function for strcpy() |
mock-strdup.c | Implementation of a mock function for strdup() |
mock-strdup.h | Header declaring a mock function for strdup() |
mock-strlen.c | Implementation of a mock function for strlen() |
mock-strlen.h | Header declaring a mock function for strlen() |
► utest-cfgmap-order | |
regression-test.c | Implementation of a regression test for the order and completeness of crinit{Task,Series}CfgMap |
utest-cfgmap-order.c | Implementation of the unit test group for the order and completeness of crinit{Task,Series}CfgMap |
utest-cfgmap-order.h | Header declaring the regression test for the order and completeness of crinit{Task,Series}CfgMap |
► utest-confconv-envset | |
case-null-input.c | Unit test for crinitConfConvToEnvSetMember() with NULL inputs |
case-success.c | Unit test for crinitConfConvToEnvSetMember(), successful execution |
case-wrong-input.c | Unit test for crinitConfConvToEnvSetMember(), handling of invalid string input |
utest-confconv-envset.c | Implementation of the crinitConfConvToEnvSetMember() unit test group |
utest-confconv-envset.h | Header declaring the unit tests for crinitConfConvToEnvSetMember() |
► utest-crinit-set-err-stream | |
case-set.c | Implementation of a unit test for crinitClientSetErrStream() |
utest-crinit-set-err-stream.c | Implementation of the crinitClientSetErrStream() unit test group |
utest-crinit-set-err-stream.h | Header declaring the unit tests for crinitClientSetErrStream() |
► utest-crinit-set-info-stream | |
case-set.c | Implementation of a unit test for crinitClientSetInfoStream() |
utest-crinit-set-info-stream.c | Implementation of the crinitClientSetInfoStream() unit test group |
utest-crinit-set-info-stream.h | Header declaring the unit tests for crinitClientSetInfoStream() |
► utest-crinit-set-verbose | |
case-glob-opt-error.c | Implementation of a unit test for crinitClientSetVerbose() with the assumption crinitGlobOptSet() fails |
case-success.c | Implementation of a unit test for crinitClientSetVerbose(), under the assumption no internal function calls fail |
utest-crinit-set-verbose.c | Implementation of the crinitClientSetVerbose() unit test group |
utest-crinit-set-verbose.h | Header declaring the unit tests for crinitClientSetVerbose() |
► utest-crinit-task-add | |
case-build-rtim-cmd-error.c | Unit test for crinitClientTaskAdd() testing error handling for crinitBuildRtimCmd() |
case-confpath-null.c | Unit test for crinitClientTaskAdd() with confFilePath as NULL |
case-crinit-response-cmd-error.c | Unit test for crinitClientTaskAdd() testing error handling for wrong command in response |
case-crinit-response-code-error.c | Unit test for crinitClientTaskAdd() testing error handling for error code response |
case-crinit-xfer-error.c | |
case-forcedeps-empty.c | Unit test for crinitClientTaskAdd() with forceDeps as empty string |
case-forcedeps-null.c | Unit test for crinitClientTaskAdd() with forceDeps as NULL |
case-overwrite-bool-to-string.c | Unit test for crinitClientTaskAdd() testing overwrite is passed on correctly |
case-success.c | Unit test for crinitClientTaskAdd() testing error handling for crinitXfer() |
utest-crinit-task-add.c | Implementation of the crinitClientTaskAdd() unit test group |
utest-crinit-task-add.h | Header declaring the unit tests for crinitClientTaskAdd() |
► utest-destroy-file-series | |
case-success.c | Unit test for crinitDestroyFileSeries(), successful execution |
utest-destroy-file-series.c | Implementation of the crinitDestroyFileSeries() unit test group |
utest-destroy-file-series.h | Header declaring the unit tests for crinitDestroyFileSeries() |
► utest-envset-destroy | |
case-null-input.c | Unit test for crinitEnvSetDestroy() with a NULL input |
case-success.c | Unit test for crinitEnvSetDestroy(), successful execution |
utest-envset-destroy.c | Implementation of the crinitEnvSetDestroy() unit test group |
utest-envset-destroy.h | Header declaring the unit tests for crinitEnvSetDestroy() |
► utest-envset-dup | |
case-null-input.c | Unit test for crinitEnvSetDup() with a NULL input |
case-success.c | Unit test for crinitEnvSetDup(), successful execution |
utest-envset-dup.c | Implementation of the crinitEnvSetDup() unit test group |
utest-envset-dup.h | Header declaring the unit tests for crinitEnvSetDup() |
► utest-envset-get | |
case-not-found.c | Unit test for crinitEnvSetGet(), case for variable not found |
case-null-input.c | Unit test for crinitEnvSetGet() with NULL inputs |
case-success.c | Unit test for crinitEnvSetGet(), successful execution |
utest-envset-get.c | Implementation of the crinitEnvSetGet() unit test group |
utest-envset-get.h | Header declaring the unit tests for crinitEnvSetGet() |
► utest-envset-init | |
case-malloc-error.c | Unit test for crinitEnvSetInit() testing error handling of failed allocation |
case-null-input.c | Unit test for crinitEnvSetInit() with a NULL input |
case-success.c | Unit test for crinitEnvSetInit(), successful execution |
utest-envset-init.c | Implementation of the crinitEnvSetInit() unit test group |
utest-envset-init.h | Header declaring the unit tests for crinitEnvSetInit() |
► utest-envset-set | |
case-null-input.c | Unit test for crinitEnvSetSet() with NULL inputs |
case-success.c | Unit test for crinitEnvSetSet(), successful execution |
utest-envset-set.c | Implementation of the crinitEnvSetSet() unit test group |
utest-envset-set.h | Header declaring the unit tests for crinitEnvSetSet() |
► utest-file-basename-macro | |
regression-test.c | Implementation of a regression test to check the FILE_BASENAME macro |
utest-file-basename-macro.c | Implementation of the unit test group for the FILE_BASENAME macro |
utest-file-basename-macro.h | Header declaring the regression test for the FILE_BASENAME macro |
► utest-file-series-free-scandir-list | |
case-success.c | Unit test for crinitFreeScandirList(), successful execution |
utest-file-series-free-scandir-list.c | Implementation of the crinitFreeScandirList() unit test group |
utest-file-series-free-scandir-list.h | |
► utest-file-series-from-dir | |
case-dirfd-error.c | Unit test for crinitFileSeriesFromDir(), given dirfd fails |
case-init-error.c | Unit test for crinitFileSeriesFromDir(), given init fails |
case-no-mem-error.c | Unit test for crinitFileSeriesFromDir(), given malloc fails |
case-null-param-error.c | Unit test for crinitFileSeriesFromDir(), given a NULL parameter fse or path |
case-opendir-error.c | Unit test for crinitFileSeriesFromDir(), given opendir fails |
case-scandir-error.c | Unit test for crinitFileSeriesFromDir(), given scandir fails |
case-success.c | Unit test for crinitFileSeriesFromDir(), successful execution |
utest-file-series-from-dir.c | Implementation of the crinitFileSeriesFromDir() unit test group |
utest-file-series-from-dir.h | Header declaring the unit tests for crinitFileSeriesFromDir() |
► utest-file-series-from-str-arr | |
case-no-mem-error.c | Unit test for crinitFileSeriesFromStrArr(), strdup returns NULL |
case-null-param-error.c | Unit test for crinitFileSeriesFromStrArr(), given NULL parameter |
case-success.c | Unit test for crinitFileSeriesFromStrArr(), successful execution |
utest-file-series-from-str-arr.c | Implementation of the crinitFileSeriesFromStrArr() unit test group |
utest-file-series-from-str-arr.h | Header declaring the unit tests for crinitFileSeriesFromStrArr() |
► utest-file-series-stat-filter | |
case-fstatat-fail.c | Unit test for crinitStatFilter(), fstatat fail |
case-sisreg-fail.c | Unit test for crinitStatFilter(), S_ISREG fail |
case-success.c | Unit test for crinitStatFilter(), successful execution |
utest-file-series-stat-filter.c | Implementation of the crinitStatFilter() unit test group |
utest-file-series-stat-filter.h | |
► utest-file-series-suffix-filter | |
case-success.c | Unit test for crinitSuffixFilter(), successful execution |
utest-file-series-suffix-filter.c | Implementation of the crinitSuffixFilter() unit test group |
utest-file-series-suffix-filter.h | |
► utest-inih-configuration | |
regression-test.c | Implementation of a regression test to check the compile-time configuration of libinih |
utest-inih-configuration.c | Implementation of the unit test group for the libinih compile-time configuration |
utest-inih-configuration.h | Header declaring the regression test for the libinih compile-time-configuration |
► utest-init-file-series | |
case-fse-null-error.c | Unit test for crinitEnvSetDestroy(), given file series is NULL |
case-no-mem-error.c | Unit test for crinitInitFileSeries(), strdup returns NULL |
case-success.c | Unit test for crinitInitFileSeries(), successful execution |
utest-init-file-series.c | Implementation of the crinitInitFileSeries() unit test group |
utest-init-file-series.h | Header declaring the unit tests for crinitFreeScandirList() |
► utest-lexers-envset-inner | |
case-lexer-error.c | Unit test for crinitEnvVarInnerLex() testing error handling of the lexer |
case-null-input.c | Unit test for crinitEnvVarInnerLex() with >=1 NULL inputs |
case-success.c | Unit test for crinitEnvVarInnerLex(), successful execution |
utest-lexers-envset-inner.c | Implementation of the crinitEnvSetInnerLex() unit test group |
utest-lexers-envset-inner.h | Header declaring the unit tests for crinitEnvVarInnerLex() |
► utest-lexers-envset-outer | |
case-lexer-error.c | Unit test for crinitEnvVarOuterLex() testing error handling of the lexer |
case-null-input.c | Unit test for crinitEnvVarOuterLex() with >=1 NULL inputs |
case-success.c | Unit test for crinitClientTaskAdd(), successful execution |
utest-lexers-envset-outer.c | Implementation of the crinitEnvsetOuterLex() unit test group |
utest-lexers-envset-outer.h | Header declaring the unit tests for crinitEnvVarOuterLex() |
► utest-list | |
case-success.c | Unit test for crinit list api |
utest-list.c | Implementation of the crinitList_t library unit test group |
utest-list.h | Header declaring the unit tests for crinitList_t library api |
► utest-resize-file-series | |
case-fse-null-error.c | Unit test for crinitResizeFileSeries(), given file series is NULL |
case-no-mem-error.c | Unit test for crinitResizeFileSeries(), realloc returns NULL |
case-shrink-zero-error.c | Unit test for crinitResizeFileSeries(), successful execution |
case-success.c | Unit test for crinitResizeFileSeries(), successful execution |
utest-resize-file-series.c | Implementation of the crinitResizeFileSeries() unit test group |
utest-resize-file-series.h | Header declaring the unit tests for crinitResizeFileSeries() |
unit_test.h | Header for common definitions/includes specifically for cmocka unit tests |