Diff for /libelwix/inc/elwix/ampool.h between versions 1.6 and 1.7

version 1.6, 2022/10/24 00:10:22 version 1.7, 2024/08/14 16:05:42
Line 12  terms: Line 12  terms:
 All of the documentation and software included in the ELWIX and AITNET  All of the documentation and software included in the ELWIX and AITNET
 Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>
   
Copyright 2004 - 2022Copyright 2004 - 2024
         by Michael Pounov <misho@elwix.org>.  All rights reserved.          by Michael Pounov <misho@elwix.org>.  All rights reserved.
   
 Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
Line 126  int mpool_purge(mpool_t * __restrict mp, unsigned int  Line 126  int mpool_purge(mpool_t * __restrict mp, unsigned int 
  * return: NULL error or !=NULL ok allocated memory   * return: NULL error or !=NULL ok allocated memory
  */   */
 void *mpool_malloc(mpool_t * __restrict mp, unsigned int size, const char *memname);  void *mpool_malloc(mpool_t * __restrict mp, unsigned int size, const char *memname);
   /*
    * mpool_calloc() - Multiple memory block allocation
    *
    * @mp = Memory pool
    * @nmemb = Number of memory blocks
    * @size = Size
    * @memname = Optional memory block name
    * return: NULL error or !=NULL ok allocated memory
    */
   void *mpool_calloc(mpool_t * __restrict mp, u_int nmemb, u_int size, const char *memname);
 /*  /*
  * mpool_free() Free allocated memory with mpool_alloc()   * mpool_free() Free allocated memory with mpool_alloc()
  *   *

Removed from v.1.6  
changed lines
  Added in v.1.7


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>