1 /********************************************************************
3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5 * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. *
6 * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
8 * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 *
9 * by Stan Seibert <volsung@xiph.org> AND OTHER CONTRIBUTORS *
10 * http://www.xiph.org/ *
12 ********************************************************************
14 last mod: $Id: cfgfile_options.h,v 1.2 2001/12/19 02:52:53 volsung Exp $
16 ********************************************************************/
18 #ifndef __CFGFILE_OPTIONS_H__
19 #define __CFGFILE_OPTIONS_H__
42 typedef struct file_option_t
{
46 file_option_type_t type
;
51 void file_options_init (file_option_t opts
[]);
52 void file_options_describe (file_option_t opts
[], FILE *outfile
);
54 parse_code_t
parse_line (file_option_t opts
[], char *line
);
55 parse_code_t
parse_config_file (file_option_t opts
[], const char *filename
);
56 const char *parse_error_string (parse_code_t pcode
);
57 void parse_std_configs (file_option_t opts
[]);
59 #endif /* __OPTIONS_H__ */