aboutsummaryrefslogtreecommitdiff
path: root/cmd/runsvc/runsvc.h
blob: 2a6ae4908495a1f1396710cb08da2c40a47fa91c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: ISC */
#ifndef RUNSVC_H
#define RUNSVC_H

#include <sys/types.h>
#include <sys/wait.h>
#include <stdbool.h>
#include <stddef.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <fcntl.h>

#include "service.h"
#include "libcfg.h"
#include "config.h"

#define ENVFILE ETCPATH "/initd.env"

int initenv(void);

#endif /* RUNSVC_H */