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

Viewing all changes in revision 1016.

  • Committer: Scott James Remnant
  • Date: 2008-06-08 02:26:36 UTC
  • Revision ID: scott@netsplit.com-20080608022636-eusety7uwpszpf17
* dbus/com.ubuntu.Upstart.Job.xml (GetInstance): Add method to get
an instance name in the same basic manner as start and stop would,
though this one's synchronous.
* init/job_class.c (job_class_get_instance): Implementing by copying
the relevant bit of Stop.
* init/job_class.h: Add prototype.
* init/tests/test_job_class.c (test_get_instance): Add tests.
* TODO: Continue to document the C&P madness.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: