annotate src/libsndfile-1.0.25/regtest/regtest.h @ 169:223a55898ab9 tip default

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