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

Viewing all changes in revision 918.

  • Committer: Scott James Remnant
  • Date: 2008-04-28 21:09:23 UTC
  • Revision ID: scott@netsplit.com-20080428210923-tgn74nmyl0gfjc7s
* init/control.c (control_job_config_path, control_job_path): Add
functions to generate D-Bus object paths for jobs and instances
(control_path_append): and a static function used by both to append
escaped path elements.
* init/control.h: Add prototypes.
* init/tests/test_control.c (test_job_config_path)
(test_job_path): Add test cases for the new functions.
* init/job.h (JobConfig, Job): Add path member to both structures.
* init/job.c (job_config_new, job_new): Initialise the path members.
* init/tests/test_job.c (test_config_new, test_new): Make sure
the path members are initialised to something sensible.
* init/init.supp: Valgrind whines, I do not know why.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: