| 59 | } |
| 60 | |
| 61 | apr_status_t md_event_raise(const char *event, |
| 62 | const char *mdomain, |
| 63 | struct md_job_t *job, |
| 64 | struct md_result_t *result, |
| 65 | apr_pool_t *p) |
| 66 | { |
| 67 | md_subscription *sub = EVNT.subs; |
| 68 | apr_status_t rv; |
| 69 | |
| 70 | while (sub) { |
| 71 | rv = sub->cb(event, mdomain, sub->baton, job, result, p); |
| 72 | if (APR_SUCCESS != rv) return rv; |
| 73 | sub = sub->next; |
| 74 | } |
| 75 | return APR_SUCCESS; |
| 76 | } |
| 77 | |
| 78 | void md_event_holler(const char *event, |
| 79 | const char *mdomain, |
no outgoing calls
no test coverage detected