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