options.h
资源名称:tcpmp.rar [点击查看]
上传用户:wstnjxml
上传日期:2014-04-03
资源大小:7248k
文件大小:5k
源码类别:
Windows CE
开发平台:
C/C++
- /* metaflac - Command-line FLAC metadata editor
- * Copyright (C) 2001,2002,2003,2004,2005 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 metaflac__options_h
- #define metaflac__options_h
- #include "FLAC/format.h"
- #if 0
- /*[JEC] was:#if HAVE_GETOPT_LONG*/
- /*[JEC] see flac/include/share/getopt.h as to why the change */
- # include <getopt.h>
- #else
- # include "share/getopt.h"
- #endif
- extern struct share__option long_options_[];
- typedef enum {
- OP__SHOW_MD5SUM,
- OP__SHOW_MIN_BLOCKSIZE,
- OP__SHOW_MAX_BLOCKSIZE,
- OP__SHOW_MIN_FRAMESIZE,
- OP__SHOW_MAX_FRAMESIZE,
- OP__SHOW_SAMPLE_RATE,
- OP__SHOW_CHANNELS,
- OP__SHOW_BPS,
- OP__SHOW_TOTAL_SAMPLES,
- OP__SET_MD5SUM,
- OP__SET_MIN_BLOCKSIZE,
- OP__SET_MAX_BLOCKSIZE,
- OP__SET_MIN_FRAMESIZE,
- OP__SET_MAX_FRAMESIZE,
- OP__SET_SAMPLE_RATE,
- OP__SET_CHANNELS,
- OP__SET_BPS,
- OP__SET_TOTAL_SAMPLES,
- OP__SHOW_VC_VENDOR,
- OP__SHOW_VC_FIELD,
- OP__REMOVE_VC_ALL,
- OP__REMOVE_VC_FIELD,
- OP__REMOVE_VC_FIRSTFIELD,
- OP__SET_VC_FIELD,
- OP__IMPORT_VC_FROM,
- OP__EXPORT_VC_TO,
- OP__IMPORT_CUESHEET_FROM,
- OP__EXPORT_CUESHEET_TO,
- OP__ADD_SEEKPOINT,
- OP__ADD_REPLAY_GAIN,
- OP__ADD_PADDING,
- OP__LIST,
- OP__APPEND,
- OP__REMOVE,
- OP__REMOVE_ALL,
- OP__MERGE_PADDING,
- OP__SORT_PADDING
- } OperationType;
- typedef enum {
- ARG__BLOCK_NUMBER,
- ARG__BLOCK_TYPE,
- ARG__EXCEPT_BLOCK_TYPE,
- ARG__DATA_FORMAT,
- ARG__FROM_FILE
- } ArgumentType;
- typedef struct {
- FLAC__byte value[16];
- } Argument_StreaminfoMD5;
- typedef struct {
- FLAC__uint32 value;
- } Argument_StreaminfoUInt32;
- typedef struct {
- FLAC__uint64 value;
- } Argument_StreaminfoUInt64;
- typedef struct {
- char *value;
- } Argument_VcFieldName;
- typedef struct {
- char *field; /* the whole field as passed on the command line, i.e. "NAME=VALUE" */
- char *field_name;
- /* according to the vorbis spec, field values can contain