Go to the source code of this file.
parses config file and returns the config to the caller
- Parameters
-
- Return values
-
Definition at line 158 of file parse.c.
returns the default config
- Return values
-
| default | config on success |
| NULL | when the output file can't be created |
Definition at line 123 of file parse.c.
create and open logfile
- Parameters
-
| dir | directory in which the logfile should be created |
- Return values
-
| logfile | on success |
| NULL | when the file can't be created |
Definition at line 64 of file parse.c.
| enum sched_prio string_to_prio |
( |
const char * |
str | ) |
|
converts priority string to priority
- Parameters
-
| str | string that represents a scheduler priority |
- Return values
-
| priority | |
| SCHED_ERR | when the priority doesn't exit |
Definition at line 43 of file parse.c.