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

Viewing all changes in revision 907.

  • Committer: Scott James Remnant
  • Date: 2008-04-19 12:00:42 UTC
  • Revision ID: scott@netsplit.com-20080419120042-o5kuka3y1lajyf8t
* init/job.h (JobConfig): NihList is rather overkill for emits,
which is static configuration; turn into a NULL-terminated array
which'll make it easier to turn into a D-Bus property later.
* init/job.c (job_config_new): Initialise to NULL now.
* init/tests/test_job.c (test_config_new): Make sure it's NULL.
* init/parse_job.c (stanza_emits): Store in an array instead.
* init/tests/test_parse_job.c (test_stanza_emits): Redo tests.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: