diff options
author | June McEnroe <june@causal.agency> | 2020-08-14 12:52:51 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-08-14 16:00:35 -0400 |
commit | 3b38cfdbfef86966095f19d98f937e41ecc3cc83 (patch) | |
tree | 43d6d7f9d79c7619ddd3b98427db97d77c9fca70 /daemon.h | |
parent | Add install target (diff) | |
download | catsit-3b38cfdbfef86966095f19d98f937e41ecc3cc83.tar.gz catsit-3b38cfdbfef86966095f19d98f937e41ecc3cc83.zip |
Implement user and group lookup
Diffstat (limited to '')
-rw-r--r-- | daemon.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. */ +#include <grp.h> +#include <pwd.h> #include <stdint.h> 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; |