Chris@1: /* test_libFLAC - Unit tester for libFLAC Chris@1: * Copyright (C) 2002,2003,2004,2005,2006,2007 Josh Coalson Chris@1: * Chris@1: * This program is free software; you can redistribute it and/or Chris@1: * modify it under the terms of the GNU General Public License Chris@1: * as published by the Free Software Foundation; either version 2 Chris@1: * of the License, or (at your option) any later version. Chris@1: * Chris@1: * This program is distributed in the hope that it will be useful, Chris@1: * but WITHOUT ANY WARRANTY; without even the implied warranty of Chris@1: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Chris@1: * GNU General Public License for more details. Chris@1: * Chris@1: * You should have received a copy of the GNU General Public License Chris@1: * along with this program; if not, write to the Free Software Chris@1: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Chris@1: */ Chris@1: Chris@1: #ifndef FLAC__TEST_LIBFLAC_FILE_UTILS_H Chris@1: #define FLAC__TEST_LIBFLAC_FILE_UTILS_H Chris@1: Chris@1: /* needed because of off_t */ Chris@1: #if HAVE_CONFIG_H Chris@1: # include Chris@1: #endif Chris@1: Chris@1: #include "FLAC/format.h" Chris@1: #include /* for off_t */ Chris@1: Chris@1: extern const long file_utils__ogg_serial_number; Chris@1: Chris@1: FLAC__bool file_utils__generate_flacfile(FLAC__bool is_ogg, const char *output_filename, off_t *output_filesize, unsigned length, const FLAC__StreamMetadata *streaminfo, FLAC__StreamMetadata **metadata, unsigned num_metadata); Chris@1: Chris@1: #endif