~aejsmith/upstart/profiles

Viewing all changes in revision 685.

  • Committer: Scott James Remnant
  • Date: 2007-05-18 18:54:45 UTC
  • Revision ID: scott@netsplit.com-20070518185445-ug8nuxv889p0jelh
* init/event.h (EventEmission): Rename to Event, and rename event
member to info.
* init/event.c (event_emit_next_id): Rename to event_next_id
(event_emit): Rename to event_new, and add standard parent argument.
(event_emit_find_by_id): Rename to event_find_by_id
(event_poll): Iterate over Events in the list
(event_pending, event_finished): Operate on Event
* init/tests/test_event.c (test_emit): Rename to test_new and
adjust for names and arguments.
(test_emit_find_by_id): Rename to test_find_by_id and adjust for
names.
(test_emit_finished, test_poll): Adjust names.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: