diff options
author | 2005-10-15 10:51:26 +1000 | |
---|---|---|
committer | 2005-10-15 10:51:26 +1000 | |
commit | 9298f610f6f26425db36d8727ad533d660a6c5d6 (patch) | |
tree | 53c6f257f99c7e35c0975744edf5ca7d4e10818f /event.h | |
parent | 638df31ca462b032d59bde586254be5f3dc21e35 (diff) |
Add support for specifying event handler for calling job in command supstitution. Add psub shellscript function for process substitution
darcs-hash:20051015005126-ac50b-d2aedca3a50a78362502f3fa9dd8bf25cb7dc6e1.gz
Diffstat (limited to 'event.h')
-rw-r--r-- | event.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -23,6 +23,7 @@ enum EVENT_SIGNAL, /**< An event triggered by a signal */ EVENT_VARIABLE, /**< An event triggered by a variable update */ EVENT_EXIT, /**< An event triggered by a job or process exit */ + EVENT_JOB_ID, /**< An event triggered by a job exit */ } ; @@ -53,6 +54,11 @@ typedef struct Process id for process-type events. Use EVENT_ANY_PID to match any pid. */ pid_t pid; + /** + Job id for EVENT_JOB_ID type events + */ + int job_id; + } param1; const wchar_t *function_name; |