From 3b38cfdbfef86966095f19d98f937e41ecc3cc83 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 14 Aug 2020 12:52:51 -0400 Subject: Implement user and group lookup --- daemon.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'daemon.h') diff --git a/daemon.h b/daemon.h index 0d9e4de..3a141ba 100644 --- a/daemon.h +++ b/daemon.h @@ -14,6 +14,8 @@ * along with this program. If not, see . */ +#include +#include #include typedef unsigned char byte; @@ -33,3 +35,7 @@ static inline uint32_t setTest(const struct Set256 *set, byte x) { extern int restartInterval; extern struct Set256 stopExits; + +extern const char *serviceDir; +extern struct passwd *serviceUser; +extern struct group *serviceGroup; -- cgit 1.4.1