diff options
author | dougm <dougm@13f79535-47bb-0310-9956-ffa450edef68> | 2001-10-20 17:40:31 +0000 |
---|---|---|
committer | dougm <dougm@13f79535-47bb-0310-9956-ffa450edef68> | 2001-10-20 17:40:31 +0000 |
commit | 4f45fc64c7cccc91092608bae3ba174f9a1243a4 (patch) | |
tree | c703dd53095bc7d25a0253478e2bdde1dfb7e453 /dso | |
parent | a9940e0ed6c0695a19ae6b505bb1e6f3be258167 (diff) | |
download | libapr-4f45fc64c7cccc91092608bae3ba174f9a1243a4.tar.gz |
add apr_os_dso_handle_put for win32
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62449 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso')
-rw-r--r-- | dso/win32/dso.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dso/win32/dso.c b/dso/win32/dso.c index 8d6470740..d07cc0b43 100644 --- a/dso/win32/dso.c +++ b/dso/win32/dso.c @@ -59,6 +59,16 @@ #if APR_HAS_DSO +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; + return APR_SUCCESS; +} + static apr_status_t dso_cleanup(void *thedso) { apr_dso_handle_t *dso = thedso; |