Diff for /libelwix/inc/elwix/ampool.h between versions 1.3.20.1 and 1.4.2.1

version 1.3.20.1, 2015/06/25 00:36:47 version 1.4.2.1, 2015/07/01 21:31:26
Line 79  typedef struct _tagMPool { Line 79  typedef struct _tagMPool {
         } pool_bytes;          } pool_bytes;
         struct {          struct {
                 unsigned long max;                  unsigned long max;
                   unsigned long real;
                 unsigned long curr;                  unsigned long curr;
         } pool_quota;          } pool_quota;
   
Line 198  unsigned long mpool_setquota(mpool_t * __restrict mp,  Line 199  unsigned long mpool_setquota(mpool_t * __restrict mp, 
  * mpool_getquota() - Get memory quota   * mpool_getquota() - Get memory quota
  *   *
  * @mp = Memory pool   * @mp = Memory pool
 * @currmem = Return current memory * @currmem = Return current memory usage
  * @realmem = Return current real memory usage
  * @maxmem = Return max quota size   * @maxmem = Return max quota size
  * return: none   * return: none
  */   */
 void mpool_getquota(mpool_t * __restrict mp, unsigned long *currmem,   void mpool_getquota(mpool_t * __restrict mp, unsigned long *currmem, 
                unsigned long *maxmem);                unsigned long *realmem, unsigned long *maxmem);
 /*  /*
  * mpool_statistics() - Dump statistics from memory pool buckets   * mpool_statistics() - Dump statistics from memory pool buckets
  *   *
Line 260  char *mpool_xstrdup(const char *str); Line 262  char *mpool_xstrdup(const char *str);
  * return: none   * return: none
  */   */
 void mpool_xstatistics(mpool_stat_cb cb);  void mpool_xstatistics(mpool_stat_cb cb);
   /*
    * mpool_dump() - Dump elwix memory pool statistics
    *
    * @mp = memory pool, if =NULL dump elwix default memory pool
    * @fmt = prefix info format string
    * @... = argument(s)
    * return: none
    */
   void mpool_dump(mpool_t * __restrict mp, const char *fmt, ...);
   
   
 #endif  #endif

Removed from v.1.3.20.1  
changed lines
  Added in v.1.4.2.1


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