diff options
author | waker <wakeroid@gmail.com> | 2012-04-25 22:25:46 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-04-25 22:25:46 +0200 |
commit | 6974e0672bcd9cdab22cabc6b2aa64a533fa871a (patch) | |
tree | d8840a6dc8e547897b3145622c5fa505e4d6dbb2 /plugins/shellexec/shellexec.h | |
parent | ce7f7611615bbe32c859a94a13f343097a120f19 (diff) |
shellexec: fixed adding first and removing last shell command
Diffstat (limited to 'plugins/shellexec/shellexec.h')
-rw-r--r-- | plugins/shellexec/shellexec.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/shellexec/shellexec.h b/plugins/shellexec/shellexec.h index b76dfd85..1d10ac7d 100644 --- a/plugins/shellexec/shellexec.h +++ b/plugins/shellexec/shellexec.h @@ -40,8 +40,11 @@ typedef struct Shx_action_s typedef struct Shx_plugin_s { DB_misc_t misc; - void - (*save_actions)(Shx_action_t *action_list); + + void (*save_actions) (void); + Shx_action_t* (*action_add) (void); + void (*action_remove) (Shx_action_t *a); + void (*action_free) (Shx_action_t *a); } Shx_plugin_t; #endif |