diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-11-04 13:19:12 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-11-04 13:19:12 +0000 |
commit | c681d62a23a8b4ca2ecf0d6291a208ca323f0171 (patch) | |
tree | d69aed5c6dbab88ca8f781d6a345f0725a1d695e /src/include | |
parent | bc64800b5399e3dabaf1e7d7bc13b14a2dc4bf42 (diff) | |
download | s6-rc-c681d62a23a8b4ca2ecf0d6291a208ca323f0171.tar.xz |
Implement funnels. Needs testing.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/s6-rc/s6rc-db.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/s6-rc/s6rc-db.h b/src/include/s6-rc/s6rc-db.h index 60287e9..c0d282d 100644 --- a/src/include/s6-rc/s6rc-db.h +++ b/src/include/s6-rc/s6rc-db.h @@ -23,7 +23,9 @@ struct s6rc_oneshot_s typedef struct s6rc_longrun_s s6rc_longrun_t, *s6rc_longrun_t_ref ; struct s6rc_longrun_s { - uint32_t pipeline[2] ; + uint32_t consumer ; + uint32_t nproducers ; + uint32_t producers ; } ; typedef union s6rc_longshot_u s6rc_longshot_t, *s6rc_longshot_t_ref ; @@ -53,9 +55,11 @@ struct s6rc_db_s unsigned int stringlen ; unsigned int nargvs ; unsigned int ndeps ; + unsigned int nproducers ; char *string ; char const **argvs ; uint32_t *deps ; + uint32_t *producers ; } ; extern int s6rc_db_read_uint32 (buffer *, uint32_t *) ; |