diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2019-03-19 23:52:28 +0100 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2019-03-19 23:53:49 +0100 |
commit | 1850f31d6d1d88621b6891ed05c283e26620a242 (patch) | |
tree | 3ab15b200b92226da3f8ee99af8b70133c3468fa /cmd/service/servicecmd.h | |
parent | 065d3b678d58e9e758d19e015b1e25a79a8aaec6 (diff) |
Seperate service loading/error loging from dumpscript command
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'cmd/service/servicecmd.h')
-rw-r--r-- | cmd/service/servicecmd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/service/servicecmd.h b/cmd/service/servicecmd.h index a8d3b2a..e7cc998 100644 --- a/cmd/service/servicecmd.h +++ b/cmd/service/servicecmd.h @@ -7,6 +7,7 @@ #include <stdio.h> #include <ctype.h> +#include "service.h" #include "util.h" /* @@ -38,6 +39,8 @@ typedef struct command_t { /* Global list of available commands */ extern command_t *commands; +service_t *loadsvc(const char *directory, const char *filename, int flags); + /* Implemented in servicecmd.c. Prints program usage message and terminates with the given exit status. |