~vorlon/ubuntu/raring/upstart/lp.1199778

Viewing all changes in revision 1134.

  • Committer: Scott James Remnant
  • Date: 2009-07-03 15:03:25 UTC
  • Revision ID: scott@netsplit.com-20090703150325-x2v7slpdn00ut94k
* dbus/com.ubuntu.Upstart.Instance.xml: Add a "processes" property
to obtain the list of current job processes, both their type and
their pid.
* init/job.c (job_get_processes): Implement the new property accessor
* init/job.h: Add prototype
* init/tests/test_job.c (test_get_processes): Add test cases for
returning process arrays.
(test_get_name, test_get_goal, test_get_state): Add missing free
for job class.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: