From 1850f31d6d1d88621b6891ed05c283e26620a242 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 19 Mar 2019 23:52:28 +0100 Subject: Seperate service loading/error loging from dumpscript command Signed-off-by: David Oberhollenzer --- cmd/service/servicecmd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmd/service/servicecmd.h') 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 #include +#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. -- cgit v1.2.3