You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by do...@apache.org on 2001/10/20 19:40:31 UTC
cvs commit: apr/dso/win32 dso.c
dougm 01/10/20 10:40:31
Modified: dso/win32 dso.c
Log:
add apr_os_dso_handle_put for win32
Revision Changes Path
1.25 +10 -0 apr/dso/win32/dso.c
Index: dso.c
===================================================================
RCS file: /home/cvs/apr/dso/win32/dso.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- dso.c 2001/09/19 18:43:51 1.24
+++ dso.c 2001/10/20 17:40:31 1.25
@@ -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;