apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@apache.org
Subject cvs commit: apr/memory/unix apr_sms.c
Date Sun, 10 Jun 2001 14:50:10 GMT
dreid       01/06/10 07:50:10

  Modified:    include  apr_sms.h
               memory/unix apr_sms.c
  Log:
  Add a function to get the parent of a memory system.
  
  Submitted by:	Sander Striker <striker@samba-tng.org>
  Reviewed by:	David Reid <dreid@apache.org>
  
  Revision  Changes    Path
  1.15      +6 -0      apr/include/apr_sms.h
  
  Index: apr_sms.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_sms.h,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- apr_sms.h	2001/06/10 14:45:32	1.14
  +++ apr_sms.h	2001/06/10 14:50:09	1.15
  @@ -244,6 +244,12 @@
    */
   APR_DECLARE(const char *) apr_sms_identity(apr_sms_t *sms);
   
  +/**
  + * Get the parent sms
  + * @param sms the memory system to get the parent from
  + */
  +APR_DECLARE(apr_sms_t *) apr_sms_get_parent(apr_sms_t *sms);
  +
   /*
    * memory system cleanup management functions
    */
  
  
  
  1.19      +5 -0      apr/memory/unix/apr_sms.c
  
  Index: apr_sms.c
  ===================================================================
  RCS file: /home/cvs/apr/memory/unix/apr_sms.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- apr_sms.c	2001/06/10 14:45:32	1.18
  +++ apr_sms.c	2001/06/10 14:50:10	1.19
  @@ -689,3 +689,8 @@
   {
       return sms->identity;
   }
  +
  +APR_DECLARE(apr_sms_t *) apr_sms_get_parent(apr_sms_t *sms)
  +{
  +    return sms->parent;
  +}
  
  
  

Mime
View raw message