diff options
-rw-r--r-- | dso/os2/dso.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dso/os2/dso.c b/dso/os2/dso.c index 16ae6693f..7c910c33a 100644 --- a/dso/os2/dso.c +++ b/dso/os2/dso.c @@ -54,6 +54,7 @@ #include "dso.h" #include "apr_strings.h" +#include "apr_portable.h" #include <stdio.h> #include <string.h> @@ -137,4 +138,27 @@ APR_DECLARE(const char *) apr_dso_error(apr_dso_handle_t *dso, char *buffer, apr return buffer; } + + +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; + (*aprdso)->cont = pool; + (*aprdso)->load_error = APR_SUCCESS; + (*aprdso)->failed_module = NULL; + 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; +} + #endif |