launch_daemon: Add API to get information on jobs

Operating Systems / Haiku - Axel Dörfler [pinc-software.de] - 6 November 2015 15:47 UTC

- Ie. a listing of all targets/jobs, as well as specific (basic) info on each.
- Also added a bit of optional debug output.
- Moved translating the path to launch time -- we should take the job's environment into account here at some point.

3282b75 launch_daemon: Add API to get information on jobs.
headers/private/app/LaunchDaemonDefs.h | 4 +
headers/private/app/LaunchRoster.h | 7 ++
src/kits/app/LaunchRoster.cpp | 88 +++++++++++++++++
src/servers/launch/Job.cpp | 8 +-
src/servers/launch/LaunchDaemon.cpp | 167 ++++++++++++++++++++++++++++++--
5 files changed, 262 insertions(+), 12 deletions(-)

Upstream: cgit.haiku-os.org


  • Share