00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef APR_DSO_DOT_H
00018 #define APR_DSO_DOT_H
00019
00025 #include "apr.h"
00026 #include "apr_pools.h"
00027 #include "apr_errno.h"
00028
00029 #ifdef __cplusplus
00030 extern "C" {
00031 #endif
00032
00039 #if APR_HAS_DSO || defined(DOXYGEN)
00040
00044 typedef struct apr_dso_handle_t apr_dso_handle_t;
00045
00049 typedef void * apr_dso_handle_sym_t;
00050
00059 APR_DECLARE(apr_status_t) apr_dso_load(apr_dso_handle_t **res_handle,
00060 const char *path, apr_pool_t *ctx);
00061
00066 APR_DECLARE(apr_status_t) apr_dso_unload(apr_dso_handle_t *handle);
00067
00074 APR_DECLARE(apr_status_t) apr_dso_sym(apr_dso_handle_sym_t *ressym,
00075 apr_dso_handle_t *handle,
00076 const char *symname);
00077
00084 APR_DECLARE(const char *) apr_dso_error(apr_dso_handle_t *dso, char *buf, apr_size_t bufsize);
00085
00086 #endif
00087
00090 #ifdef __cplusplus
00091 }
00092 #endif
00093
00094 #endif