diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2016-02-13 12:48:59 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2016-02-13 12:48:59 +0200 |
commit | 3c774556e22cd30c42304614e14218a767e4d700 (patch) | |
tree | cdcc278f470b2ef8863cf10655315f8579f679b2 /src/prog.h | |
parent | 92145d8331e824a54109c53032f0ca4b2df71f5f (diff) | |
download | pies-3c774556e22cd30c42304614e14218a767e4d700.tar.gz pies-3c774556e22cd30c42304614e14218a767e4d700.tar.bz2 |
Implement on-demaind components; implement control socket telinit interface.
* src/pies.h: Include json.h
(sysvinit_report, sysvinit_set_runlevel)
(json_object_set_string, json_object_set_number): New protos.
* src/ctl.c (ctlio_resource)<predicate>: New member.
(restab): New endpoint: runlevel. Available only if run
as pid 1.
(find_resource): If predicate is not NULL, call it to
confirm that the endpoint is available.
* src/piesctl.c: New subcommand "telinit".
* src/sysvinit.c (sysvinit_set_runlevel): New function.
(sysvinit_fifo_handler): Implement on-demaind components.
Diffstat (limited to 'src/prog.h')
0 files changed, 0 insertions, 0 deletions