X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_pool.h;h=e8e34ee0a00ab17ca52d80f43e9f9fb93c407f49;hb=bf3264b9e340ba5c11cbf59835a8af3db94e0cc2;hp=2775cb3a8ab9ff513471fa19fc9d3c9d3b8915d0;hpb=94dce1aea965163f8dcd2f97271f2652abb0e62d;p=melted diff --git a/src/framework/mlt_pool.h b/src/framework/mlt_pool.h index 2775cb3..e8e34ee 100644 --- a/src/framework/mlt_pool.h +++ b/src/framework/mlt_pool.h @@ -3,27 +3,29 @@ * Copyright (C) 2003-2004 Ushodaya Enterprises Limited * Author: Charles Yates * - * 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. + * 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 program is distributed in the hope that it will be useful, + * 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 #define _MLT_POOL_H extern void mlt_pool_init( ); -extern void *mlt_pool_allocate( int size, void **release ); +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