httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@hyperreal.org
Subject cvs commit: apache-2.0/src/lib/apr/time/win32 access.c
Date Wed, 22 Sep 1999 17:48:08 GMT
stoddard    99/09/22 10:48:08

  Modified:    src/lib/apr/time/win32 access.c
  Log:
  Get time functions compiling on Win32
  
  Revision  Changes    Path
  1.2       +5 -4      apache-2.0/src/lib/apr/time/win32/access.c
  
  Index: access.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/time/win32/access.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- access.c	1999/08/17 15:59:53	1.1
  +++ access.c	1999/09/22 17:48:03	1.2
  @@ -242,10 +242,10 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_timedata(struct atime_t *atime, void *data)
  +ap_status_t ap_get_timedata(struct atime_t *atime, char *key, void *data)
   {
       if (atime != NULL) {
  -        return ap_get_userdata(atime->cntxt, &data);
  +        return ap_get_userdata(atime->cntxt, key, &data);
       }
       else {
           data = NULL;
  @@ -253,10 +253,11 @@
       }
   }
   
  -ap_status_t ap_set_timedata(struct atime_t *atime, void *data)
  +ap_status_t ap_set_timedata(struct atime_t *atime, void *data, char *key,
  +                            ap_status_t (*cleanup) (void *))
   {
       if (atime != NULL) {
  -        return ap_set_userdata(atime->cntxt, data);
  +        return ap_set_userdata(atime->cntxt, data, key, cleanup);
       }
       else {
           data = NULL;
  
  
  

Mime
View raw message