X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fframework%2Fmlt_pool.h;h=caf983d4ff50f89ab5d3e4f5aae0861d1fdd5a25;hb=3d1f96959dd9d2662191ef8faa821f5e129dc8fb;hp=7a9c1cbe23731298fc51692825703767910d7f9e;hpb=7ac623df605d7daa8125b189cf77a937cfe03888;p=mlt diff --git a/src/framework/mlt_pool.h b/src/framework/mlt_pool.h index 7a9c1cbe..caf983d4 100644 --- a/src/framework/mlt_pool.h +++ b/src/framework/mlt_pool.h @@ -1,21 +1,24 @@ -/* - * mlt_pool.h -- memory pooling functionality - * Copyright (C) 2003-2004 Ushodaya Enterprises Limited - * Author: Charles Yates +/** + * \file mlt_pool.h + * \brief memory pooling functionality + * \see mlt_pool_s * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Copyright (C) 2003-2009 Ushodaya Enterprises Limited + * \author Charles Yates * - * This program is distributed in the hope that it will be useful, + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _MLT_POOL_H @@ -23,7 +26,9 @@ extern void mlt_pool_init( ); extern void *mlt_pool_alloc( int size ); +extern void *mlt_pool_realloc( void *ptr, int size ); extern void mlt_pool_release( void *release ); +extern void mlt_pool_purge( ); extern void mlt_pool_close( ); #endif