annotate src/libsndfile-1.0.25/regtest/regtest.h @ 23:619f715526df sv_v2.1

Update Vamp plugin SDK to 2.5
author Chris Cannam
date Thu, 09 May 2013 10:52:46 +0100
parents c7265573341e
children
rev   line source
Chris@0 1 /*
Chris@0 2 ** Copyright (C) 2005-2011 Erik de Castro Lopo
Chris@0 3 **
Chris@0 4 ** This program is free software; you can redistribute it and/or modify
Chris@0 5 ** it under the terms of the GNU General Public License as published by
Chris@0 6 ** the Free Software Foundation; either version 2 of the License, or
Chris@0 7 ** (at your option) any later version.
Chris@0 8 **
Chris@0 9 ** This program is distributed in the hope that it will be useful,
Chris@0 10 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
Chris@0 11 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Chris@0 12 ** GNU General Public License for more details.
Chris@0 13 **
Chris@0 14 ** You should have received a copy of the GNU General Public License
Chris@0 15 ** along with this program; if not, write to the Free Software
Chris@0 16 ** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Chris@0 17 */
Chris@0 18
Chris@0 19 typedef struct REG_DB_tag REG_DB ;
Chris@0 20
Chris@0 21 /* In database.c */
Chris@0 22 REG_DB * db_open (const char * db_name) ;
Chris@0 23
Chris@0 24 int db_create (const char * dbname) ;
Chris@0 25
Chris@0 26 int db_close (REG_DB * db_handle) ;
Chris@0 27
Chris@0 28 int db_file_exists (REG_DB * db_handle, const char * filename) ;
Chris@0 29 int db_add_file (REG_DB * db_handle, const char * filename) ;
Chris@0 30 int db_check_file (REG_DB * db_handle, const char * filename) ;
Chris@0 31
Chris@0 32 int db_list_all (REG_DB * db_handle) ;
Chris@0 33 int db_check_all (REG_DB * db_handle) ;
Chris@0 34 int db_del_entry (REG_DB * db_handle, const char * entry) ;
Chris@0 35
Chris@0 36 /* In checksum.c */
Chris@0 37 int calc_checksum (SNDFILE * file, const SF_INFO * info) ;
Chris@0 38