Apache HTTPD
md_event.h
Go to the documentation of this file.
1/* Licensed to the Apache Software Foundation (ASF) under one or more
2* contributor license agreements. See the NOTICE file distributed with
3* this work for additional information regarding copyright ownership.
4* The ASF licenses this file to You under the Apache License, Version 2.0
5* (the "License"); you may not use this file except in compliance with
6* the License. You may obtain a copy of the License at
7*
8* http://www.apache.org/licenses/LICENSE-2.0
9*
10* Unless required by applicable law or agreed to in writing, software
11* distributed under the License is distributed on an "AS IS" BASIS,
12* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13* See the License for the specific language governing permissions and
14* limitations under the License.
15*/
16
17#ifndef md_event_h
18#define md_event_h
19
20struct md_job_t;
21struct md_result_t;
22
23typedef apr_status_t md_event_cb(const char *event,
24 const char *mdomain,
25 void *baton,
26 struct md_job_t *job,
27 struct md_result_t *result,
28 apr_pool_t *p);
29
31
32void md_event_subscribe(md_event_cb *cb, void *baton);
33
35 const char *mdomain,
36 struct md_job_t *job,
37 struct md_result_t *result,
38 apr_pool_t *p);
39
40void md_event_holler(const char *event,
41 const char *mdomain,
42 struct md_job_t *job,
43 struct md_result_t *result,
44 apr_pool_t *p);
45
46#endif /* md_event_h */
ap_vhost_iterate_conn_cb void * baton
Definition http_vhost.h:87
apr_size_t size
int apr_status_t
Definition apr_errno.h:44
apr_array_header_t ** result
apr_pool_t * p
Definition md_event.c:32
void md_event_subscribe(md_event_cb *cb, void *baton)
Definition md_event.c:50
void md_event_init(apr_pool_t *p)
Definition md_event.c:43
apr_status_t md_event_cb(const char *event, const char *mdomain, void *baton, struct md_job_t *job, struct md_result_t *result, apr_pool_t *p)
Definition md_event.h:23
apr_status_t md_event_raise(const char *event, const char *mdomain, struct md_job_t *job, struct md_result_t *result, apr_pool_t *p)
Definition md_event.c:61
void md_event_holler(const char *event, const char *mdomain, struct md_job_t *job, struct md_result_t *result, apr_pool_t *p)
Definition md_event.c:78