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

Viewing all changes in revision 639.

  • Committer: Scott James Remnant
  • Date: 2007-03-08 14:22:45 UTC
  • Revision ID: scott@netsplit.com-20070308142245-8brvrno3jf5nspmh
* init/control.c (control_watch_jobs): Rename to control_subscribe_jobs
and update to handle new event name.
(control_unwatch_jobs): Rename to control_unsubscribe_jobs and update
to handle the new event name.
(control_watch_events): Rename to control_subscribe_events and update
to handle the new event name.
(control_unwatch_events): Rename to control_unsubscribe_events and
update to handle the new event name.
* init/tests/test_control.c (test_watch_jobs): Rename to
test_subscribe_jobs and update to new event name.
(test_unwatch_jobs): Rename to test_unsubscribe_jobs and update to 
new event name.
(test_watch_events): Rename to test_subscribe_events and update to
new event name.
(test_unwatch_events): Rename to test_unsubscribe events and update
to new event name.
* upstart/message.h: Rename the watch commands to subscribe/unsubscribe
and regroup with new message numbers.
* upstart/message.c (upstart_message_newv) 
(upstart_message_handle): Marshal the updated subscription messages.
* upstart/tests/test_message.c (test_new, my_handler) 
(test_handle): Update tests to new names and numbers.
* TODO: Update.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: