summaryrefslogtreecommitdiff
path: root/src/server/deps.h
blob: e0890619e14a8a0bcc7c63c17a256d50029e9cc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ISC license. */

#ifndef S6RCD_DEPS_H
#define S6RCD_DEPS_H

#include <stdint.h>

#include "db.h"


 /* Dependencies */

#define deptype_passive(dt) ((dt) & 0x01u)
#define deptype_soft(dt) ((dt) & 0x02u)
#define deptype_loose(dt) ((dt) & 0x04u)

extern int deps_fulfilled (s6rc_db_t const *, mstate_t const *, uint32_t, char const *, int) ;

#endif