diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-06-28 17:26:47 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-06-28 17:26:47 +0000 |
commit | ae1a76cad535a04f0c059e8dae9c8a27a84222a4 (patch) | |
tree | 91648546a5c588a5f0e68ef530d311e594440f4e /src/server/transition.h | |
parent | c26824e1f078b8de0d38cb87d3f291235ab5cf76 (diff) | |
download | s6-rc-ae1a76cad535a04f0c059e8dae9c8a27a84222a4.tar.xz |
Some more code around state
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/server/transition.h')
-rw-r--r-- | src/server/transition.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/server/transition.h b/src/server/transition.h deleted file mode 100644 index 3ade951..0000000 --- a/src/server/transition.h +++ /dev/null @@ -1,24 +0,0 @@ -/* ISC license. */ - -#ifndef S6RCD_TRANSITION_H -#define S6RCD_TRANSITION_H - -#include <sys/types.h> -#include <stdint.h> - - - /* Transitions */ - -typedef struct transition_s transition_t, *transition_t_ref ; -struct transition_s -{ - pid_t pid ; - uint32_t service ; - uint8_t updown : 1 ; -} ; -#define TRANSITION_ZERO { .pid = 0, .service = 0, } - -extern uint32_t ntransitions ; -transitions_t *transitions ; - -#endif |