apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: apr/dso/win32 dso.c
Date Sat, 20 Oct 2001 17:40:31 GMT
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;
  
  
  

Mime
View raw message