diff options
author | Josh Coalson <jcoalson@users.sourceforce.net> | 2006-09-13 01:42:27 +0000 |
---|---|---|
committer | Josh Coalson <jcoalson@users.sourceforce.net> | 2006-09-13 01:42:27 +0000 |
commit | 6b21f66784e1bcbe075b405668712e85eac39414 (patch) | |
tree | cd1dcbb7cfd5041532ff7ba73b907c7e3af6a80d /include/test_libs_common/file_utils_flac.h | |
parent | 461f3eb260107f60c4d7da1774075d09e5374d14 (diff) | |
download | flac-6b21f66784e1bcbe075b405668712e85eac39414.tar.gz |
merge down from merged-API-layer branch: cvs -q up -dP -j API_LAYER_MERGING_BASELINE -j API_LAYER_MERGING_BRANCH
Diffstat (limited to 'include/test_libs_common/file_utils_flac.h')
-rw-r--r-- | include/test_libs_common/file_utils_flac.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/test_libs_common/file_utils_flac.h b/include/test_libs_common/file_utils_flac.h new file mode 100644 index 00000000..4b69568d --- /dev/null +++ b/include/test_libs_common/file_utils_flac.h @@ -0,0 +1,32 @@ +/* test_libFLAC - Unit tester for libFLAC + * Copyright (C) 2002,2003,2004,2005,2006 Josh Coalson + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef FLAC__TEST_LIBFLAC_FILE_UTILS_H +#define FLAC__TEST_LIBFLAC_FILE_UTILS_H + +/* needed because of off_t */ +#if HAVE_CONFIG_H +# include <config.h> +#endif + +#include "FLAC/format.h" +#include <sys/types.h> /* for off_t */ + +FLAC__bool file_utils__generate_flacfile(const char *output_filename, off_t *output_filesize, unsigned length, const FLAC__StreamMetadata *streaminfo, FLAC__StreamMetadata **metadata, unsigned num_metadata); + +#endif |