Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
apr_dso.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 APR_DSO_DOT_H
18 #define APR_DSO_DOT_H
19 
25 #include "apr.h"
26 #include "apr_pools.h"
27 #include "apr_errno.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
39 #if APR_HAS_DSO || defined(DOXYGEN)
40 
45 
49 typedef void * apr_dso_handle_sym_t;
50 
60  const char *path, apr_pool_t *ctx);
61 
67 
74 APR_DECLARE(apr_status_t) apr_dso_sym(apr_dso_handle_sym_t *ressym,
75  apr_dso_handle_t *handle,
76  const char *symname);
77 
84 APR_DECLARE(const char *) apr_dso_error(apr_dso_handle_t *dso, char *buf, apr_size_t bufsize);
85 
86 #endif /* APR_HAS_DSO */
87 
90 #ifdef __cplusplus
91 }
92 #endif
93 
94 #endif
size_t apr_size_t
Definition: apr.h:375
Definition: apr_arch_dso.h:33
apr_status_t apr_dso_load(apr_dso_handle_t **res_handle, const char *path, apr_pool_t *ctx)
const char * apr_dso_error(apr_dso_handle_t *dso, char *buf, apr_size_t bufsize)
apr_status_t apr_dso_sym(apr_dso_handle_sym_t *ressym, apr_dso_handle_t *handle, const char *symname)
APR memory allocation.
apr_status_t apr_dso_unload(apr_dso_handle_t *handle)
APR Error Codes.
char * path
Definition: apr_arch_dso.h:40
APR Platform Definitions.
void * apr_dso_handle_sym_t
Definition: apr_dso.h:49
void * handle
Definition: apr_arch_dso.h:35
#define APR_DECLARE(x)
Definition: macros.h:6
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
int apr_status_t
Definition: apr_errno.h:44