diff options
Diffstat (limited to 'src/pulsecore/dynarray.h')
| -rw-r--r-- | src/pulsecore/dynarray.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/pulsecore/dynarray.h b/src/pulsecore/dynarray.h index 4ddb526c..9a8e64ea 100644 --- a/src/pulsecore/dynarray.h +++ b/src/pulsecore/dynarray.h @@ -1,27 +1,29 @@ -#ifndef foodynarrayhfoo -#define foodynarrayhfoo - -/* $Id$ */ +#ifndef foopulsecoredynarrayhfoo +#define foopulsecoredynarrayhfoo /*** This file is part of PulseAudio. - + + Copyright 2004-2008 Lennart Poettering + PulseAudio 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. - + PulseAudio 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 Lesser General Public License for more details. - + You should have received a copy of the GNU Lesser General Public License along with PulseAudio; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. ***/ +#include <pulsecore/idxset.h> + typedef struct pa_dynarray pa_dynarray; /* Implementation of a simple dynamically sized array. The array @@ -32,7 +34,7 @@ pa_dynarray* pa_dynarray_new(void); /* Free the array calling the specified function for every entry in * the array. The function may be NULL. */ -void pa_dynarray_free(pa_dynarray* a, void (*func)(void *p, void *userdata), void *userdata); +void pa_dynarray_free(pa_dynarray* a, pa_free2_cb_t free_func, void *userdata); /* Store p at position i in the array */ void pa_dynarray_put(pa_dynarray*a, unsigned i, void *p); |
