| 48 | } |
| 49 | |
| 50 | void md_event_subscribe(md_event_cb *cb, void *baton) |
| 51 | { |
| 52 | md_subscription *sub; |
| 53 | |
| 54 | sub = apr_pcalloc(EVNT.p, sizeof(*sub)); |
| 55 | sub->cb = cb; |
| 56 | sub->baton = baton; |
| 57 | sub->next = EVNT.subs; |
| 58 | EVNT.subs = sub; |
| 59 | } |
| 60 | |
| 61 | apr_status_t md_event_raise(const char *event, |
| 62 | const char *mdomain, |
no outgoing calls
no test coverage detected