MCPcopy Create free account
hub / github.com/apache/httpd / md_event_subscribe

Function md_event_subscribe

modules/md/md_event.c:50–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void 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
61apr_status_t md_event_raise(const char *event,
62 const char *mdomain,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected