summaryrefslogtreecommitdiff
path: root/src/server/transition.h
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-06-28 17:26:47 +0000
committerLaurent Bercot <ska@appnovation.com>2021-06-28 17:26:47 +0000
commitae1a76cad535a04f0c059e8dae9c8a27a84222a4 (patch)
tree91648546a5c588a5f0e68ef530d311e594440f4e /src/server/transition.h
parentc26824e1f078b8de0d38cb87d3f291235ab5cf76 (diff)
downloads6-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.h24
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