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