summaryrefslogtreecommitdiff
path: root/src/include/s6-rc/event.h
blob: 864c90c65b998b6b7287c55f413ae30640ab5724 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ISC license. */

#ifndef S6RC_EVENT_H
#define S6RC_EVENT_H

#include <stdint.h>

typedef struct s6rc_event_s s6rc_event_t, *s6rc_event_t_ref ;
struct s6rc_event_s
{
  uint32_t name ;
  uint8_t current : 1 ;
  uint8_t up : 1 ;
  uint8_t extra : 6 ;
} ;
#define S6RC_EVENT_ZERO { .name = 0, .current = 0, .up = 0, .extra = 0 }

#endif