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 Tue, 05 Jun 2001 09:23:33 GMT
dreid       01/06/05 02:23:33

  Modified:    include  apr_sms.h
               memory/unix apr_sms.c
  Log:
  Add an accessor function for the SMS identity.
  
  Submitted by:    Sander Striker <striker@samba-tng.org>
  Reviewed by:	 David Reid <dreid@apache.org>
  
  Revision  Changes    Path
  1.10      +7 -0      apr/include/apr_sms.h
  
  Index: apr_sms.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_sms.h,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- apr_sms.h	2001/06/05 08:15:08	1.9
  +++ apr_sms.h	2001/06/05 09:23:30	1.10
  @@ -232,6 +232,13 @@
    */
   APR_DECLARE(apr_status_t) apr_sms_is_ancestor(apr_sms_t *a, apr_sms_t *b);
   
  +/** 
  + * Get the memory_system identity
  + * @param mem_sys The memory system to use
  + * @deffunc const char * apr_sms_identity(apr_sms_t *mem_sys);
  + */
  +APR_DECLARE(const char *) apr_sms_identity(apr_sms_t *mem_sys);
  +
   /*
    * memory system cleanup management functions
    */
  
  
  
  1.12      +4 -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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- apr_sms.c	2001/06/04 23:26:55	1.11
  +++ apr_sms.c	2001/06/05 09:23:32	1.12
  @@ -609,3 +609,7 @@
       return rv;
   }
   
  +APR_DECLARE(const char*) apr_sms_identity(apr_sms_t *mem_sys)
  +{
  +    return mem_sys->identity;
  +}
  
  
  

Mime
View raw message