~jamesodhunt/upstart/upstart-job-visualisation

« back to all changes in this revision

Viewing changes to init/event_operator.c

  • Committer: Scott James Remnant
  • Date: 2010-12-08 18:40:25 UTC
  • mfrom: (1241.2.1 upstart-jh-19112010)
  • Revision ID: scott@netsplit.com-20101208184025-cc3lxbovcgzblzjg
* init/event.c, init/event_operator.c: Fix grammar and factual errors
in comments.
* init/man/init.5: Fix grammar errors and clarify export behaviour.

Show diffs side-by-side

added added

removed removed

Lines of Context:
368
368
 * @env: NULL-terminated array of environment variables for expansion.
369
369
 *
370
370
 * Handles the emission of @event, matching it against EVENT_MATCH nodes in
371
 
 * the EventOperator tree rooted at @oper, and updating the values of other
 
371
 * the EventOperator tree rooted at @root, and updating the values of other
372
372
 * nodes to match.
373
373
 *
374
374
 * @env is optional, and may be NULL; if given it should be a NULL-terminated
380
380
 * using event_operator_reset().
381
381
 *
382
382
 * Note that this returns to indicate whether a successful match was made;
383
 
 * you should also check the value of @oper to make sure you react to this,
 
383
 * you should also check the value of @root to make sure you react to this,
384
384
 * as that still may be FALSE.
385
385
 *
386
 
 * Returns: TRUE if @event matched an entry in the tree under @oper, FALSE
 
386
 * Returns: TRUE if @event matched an entry in the tree under @root, FALSE
387
387
 * otherwise.
388
388
 **/
389
389
int