diff options
author | Jeff Trawick <trawick@apache.org> | 2001-04-19 14:24:14 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2001-04-19 14:24:14 +0000 |
commit | 44b2484a4c1f79fec27bbb4f555c7c296b72d94b (patch) | |
tree | 78309a70f0bde6ade00650399a49b71b63015923 /dso/unix | |
parent | 09865063854ea349c50d8366ab56b8a8f558db35 (diff) | |
download | apr-44b2484a4c1f79fec27bbb4f555c7c296b72d94b.tar.gz |
implement apr_os_dso_handle_get|put() so that Apache builds again;
Apache's exports.c reflected that the prototypes were added but the
function wasn't actually implemented
more implementations forthcoming as people figure out they can't
link...
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61537 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso/unix')
-rw-r--r-- | dso/unix/dso.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dso/unix/dso.c b/dso/unix/dso.c index cad0a08fc..985f57fc5 100644 --- a/dso/unix/dso.c +++ b/dso/unix/dso.c @@ -54,6 +54,7 @@ #include "dso.h" #include "apr_strings.h" +#include "apr_portable.h" #if APR_HAS_DSO @@ -68,6 +69,22 @@ #include <string.h> /* for strerror() on HP-UX */ #endif +APR_DECLARE(apr_status_t) apr_os_dso_handle_put(apr_dso_handle_t **aprdso, + apr_os_dso_handle_t *osdso, + apr_pool_t *pool) +{ + *aprdso = apr_pcalloc(pool, sizeof **aprdso); + (*aprdso)->handle = *osdso; + return APR_SUCCESS; +} + +APR_DECLARE(apr_status_t) apr_os_dso_handle_get(apr_os_dso_handle_t *osdso, + apr_dso_handle_t *aprdso) +{ + *osdso = aprdso->handle; + return APR_SUCCESS; +} + static apr_status_t dso_cleanup(void *thedso) { apr_dso_handle_t *dso = thedso; |