Go to the source code of this file.
Defines | |
| #define | EXTERN extern |
Functions | |
| EXTERN int | oaa_CheckTriggers (char *type, ICLTerm *condition_var, char *op) |
| Given a trigger type, a mask and an Op (e.g. | |
| EXTERN int | oaa_AddTrigger (char *type, ICLTerm *condition, ICLTerm *action, ICLTerm *initial_params, ICLTerm **out_params) |
| Adds a trigger according to parameters. | |
| EXTERN int | oaa_RemoveTrigger (char *type, ICLTerm *condition, ICLTerm *action, ICLTerm *initial_params, ICLTerm **out_params) |
| Removes a trigger from a local or remote agent. | |
| int | oaa_add_trigger_local (char *type, ICLTerm *condition, ICLTerm *action, ICLTerm *params) |
| int | oaa_remove_trigger_local (char *type, ICLTerm *condition, ICLTerm *action, ICLTerm *params) |
Definition in file libtrigger.h.
| #define EXTERN extern |
Definition at line 36 of file libtrigger.h.
Definition at line 574 of file libtrigger.c.
| EXTERN int oaa_AddTrigger | ( | char * | type, | |
| ICLTerm * | condition, | |||
| ICLTerm * | action, | |||
| ICLTerm * | initial_params, | |||
| ICLTerm ** | out_params | |||
| ) |
Adds a trigger according to parameters.
Type = comm, data, task, time
Condition= comm:event to match, data:data to match, task:solvable to call time:@
Action = Can be any of these:
Params =
Default destination for triggers:
Definition at line 558 of file libtrigger.c.
| EXTERN int oaa_CheckTriggers | ( | char * | type, | |
| ICLTerm * | condition_var, | |||
| char * | op | |||
| ) |
Given a trigger type, a mask and an Op (e.g.
[send, receive], [add, remove], etc), see if any triggers fire.
Definition at line 99 of file libtrigger.c.
| int oaa_remove_trigger_local | ( | char * | type, | |
| ICLTerm * | condition, | |||
| ICLTerm * | action, | |||
| ICLTerm * | params | |||
| ) |
Definition at line 598 of file libtrigger.c.