aboutsummaryrefslogtreecommitdiff
path: root/cmd/service/servicecmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/service/servicecmd.h')
-rw-r--r--cmd/service/servicecmd.h3
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.