annotate src/libsndfile-1.0.27/regtest/regtest.h @ 83:ae30d91d2ffe

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