--- libelwix/inc/elwix/ampool.h 2013/05/30 09:07:33 1.2 +++ libelwix/inc/elwix/ampool.h 2015/06/25 01:19:09 1.3.20.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: ampool.h,v 1.2 2013/05/30 09:07:33 misho Exp $ +* $Id: ampool.h,v 1.3.20.2 2015/06/25 01:19:09 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 +Copyright 2004 - 2015 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -253,6 +253,19 @@ void mpool_xfree(void * __restrict data); * return: =NULL error or !=NULL new allocated string */ char *mpool_xstrdup(const char *str); +/* + * mpool_xstatistics() - elwix memory pool statistics wrapper + * + * @cb = Export statistics to callback + * return: none + */ +void mpool_xstatistics(mpool_stat_cb cb); +/* + * mpool_xdump() - Dump elwix memory pool statistics + * + * return: none + */ +void mpool_xdump(); #endif