Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/hooks.c @ 1813:1c3efa9bc422
s/HOOK_HANDLER_RESULT_ALLOW_MORE_HOOKS/HOOK_HANDLER_RESULT_ALLOW_MORE_HANDLERS
Similar to Loudmouth's return code.
Bump API revision (11)
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 22 Mar 2010 21:56:20 +0100 |
parents | 5dbb3ebbc466 |
children | 6ac5718f8d25 |
comparison
equal
deleted
inserted
replaced
1812:5dbb3ebbc466 | 1813:1c3efa9bc422 |
---|---|
152 } | 152 } |
153 | 153 |
154 // hk_run_handlers(hookname, args) | 154 // hk_run_handlers(hookname, args) |
155 // Process all hooks for the "hookname" event. | 155 // Process all hooks for the "hookname" event. |
156 // Note that the processing is interrupted as soon as one of the handlers | 156 // Note that the processing is interrupted as soon as one of the handlers |
157 // do not return HOOK_HANDLER_RESULT_ALLOW_MORE_HOOKS (i.e. 0). | 157 // do not return HOOK_HANDLER_RESULT_ALLOW_MORE_HANDLERS (i.e. 0). |
158 guint hk_run_handlers(const gchar *hookname, hk_arg_t *args) | 158 guint hk_run_handlers(const gchar *hookname, hk_arg_t *args) |
159 { | 159 { |
160 GSList **hqueue; | 160 GSList **hqueue; |
161 GSList *h; | 161 GSList *h; |
162 guint ret = 0; | 162 guint ret = 0; |