diff options
author | Doug MacEachern <dougm@apache.org> | 2001-10-20 17:40:31 +0000 |
---|---|---|
committer | Doug MacEachern <dougm@apache.org> | 2001-10-20 17:40:31 +0000 |
commit | fbfcb3f81fac9c9055e211e37c7da3f235eb8eee (patch) | |
tree | c703dd53095bc7d25a0253478e2bdde1dfb7e453 /dso | |
parent | f2fd2a6271e6c02d019e56378b8188914373c495 (diff) | |
download | apr-fbfcb3f81fac9c9055e211e37c7da3f235eb8eee.tar.gz |
add apr_os_dso_handle_put for win32
git-svn-id: https://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; |