summaryrefslogtreecommitdiffstats
path: root/src/service/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/util')
-rw-r--r--src/service/util/serviceutil.c3
-rw-r--r--src/service/util/serviceutil.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/service/util/serviceutil.c b/src/service/util/serviceutil.c
index bb8a472..72fe51d 100644
--- a/src/service/util/serviceutil.c
+++ b/src/service/util/serviceutil.c
@@ -36,6 +36,9 @@
char *suscript = "/usr/libexec/serviceutil.sh";
char *sdscript = "/usr/libexec/servicedisc.sh";
+const char *provider_name = "service";
+const ConfigEntry *provider_config_defaults = NULL;
+
typedef struct {
FILE *fp;
FILE *fp2;
diff --git a/src/service/util/serviceutil.h b/src/service/util/serviceutil.h
index 055f43f..776a3c8 100644
--- a/src/service/util/serviceutil.h
+++ b/src/service/util/serviceutil.h
@@ -26,6 +26,9 @@
#define ARRAY_SIZE(name) (sizeof(name) / sizeof(name[0]))
+const char *provider_name;
+const ConfigEntry *provider_config_defaults;
+
enum ServiceEnabledDefault { ENABLED = 2, DISABLED = 3, NOT_APPICABLE = 5};
struct _Service {