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

Viewing all changes in revision 690.

  • Committer: Scott James Remnant
  • Date: 2007-05-20 13:00:06 UTC
  • Revision ID: scott@netsplit.com-20070520130006-u494xit9ht5rhpsq
* init/event.c (event_match): Change to accept Event as the first
argument and EventInfo as the second, making it obvious that this
matches a received Event against known EventInfo rather than just
comparing two info structs (since the order matters).
* init/event.h: Update prototype.
* init/tests/test_event.c (test_match): Update test accordingly.
(test_poll): Fix typo.
* init/job.c (job_handle_event): Pass in the event as the first
argument to event_match, rather than its info.
* TODO: Update.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: