-
Committer:
Scott James Remnant
-
Date:
2006-08-16 06:40:24 UTC
-
Revision ID:
scott@netsplit.com-20060816064024-ad797fe6776b43e8
* init/control.c (control_handle_job): Function to send out an
UPSTART_JOB_STATUS message to subscribed processes whenever a
job state changes.
(control_handle_event): Function to send out an
UPSTART_EVENT_TRIGGERED message to subscribed processes whenever
an event is triggered.
* init/control.h: Update.
* init/tests/test_control.c (test_handle_job, test_handle_event):
Check that the functions work properly.