init: Split parser into generic parser and init parser
Change-Id: I451ebc4ff12f2ac660eb533fa10ad561fa25c9dd
diff --git a/init/init.h b/init/init.h
index 59d72c0..8691335 100644
--- a/init/init.h
+++ b/init/init.h
@@ -19,6 +19,8 @@
#include "list.h"
+#include <sys/stat.h>
+
void handle_control_message(const char *msg, const char *arg);
struct command
@@ -70,8 +72,6 @@
#define NR_SVC_SUPP_GIDS 12 /* twelve supplementary groups */
-#define SVC_MAXARGS 64
-
#define COMMAND_RETRY_TIMEOUT 5
struct service {
@@ -110,8 +110,6 @@
char *args[1];
}; /* ^-------'args' MUST be at the end of this struct! */
-int parse_config_file(const char *fn);
-
void notify_service_state(const char *name, const char *state);
struct service *service_find_by_name(const char *name);