Apache2
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 
20 struct md_job_t;
21 struct md_result_t;
22 
23 typedef 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 
32 void md_event_subscribe(md_event_cb *cb, void *baton);
33 
34 apr_status_t md_event_raise(const char *event,
35  const char *mdomain,
36  struct md_job_t *job,
37  struct md_result_t *result,
38  apr_pool_t *p);
39 
40 void 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 */
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
void md_event_subscribe(md_event_cb *cb, void *baton)
void md_event_init(apr_pool_t *p)
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)
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_status.h:52
Definition: md_result.h:29
apr_pool_t * p