1 /***************************************************************************
2  *   Copyright (C) 2008 by Jesus Arias Fisteus                             *
3  *   jaf@it.uc3m.es                                                        *
4  *                                                                         *
5  *   This program is free software; you can redistribute it and/or modify  *
6  *   it under the terms of the GNU General Public License as published by  *
7  *   the Free Software Foundation; either version 2 of the License, or     *
8  *   (at your option) any later version.                                   *
9  *                                                                         *
10  *   This program is distributed in the hope that it will be useful,       *
11  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
12  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
13  *   GNU General Public License for more details.                          *
14  *                                                                         *
15  *   You should have received a copy of the GNU General Public License     *
16  *   along with this program; if not, write to the                         *
17  *   Free Software Foundation, Inc.,                                       *
18  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
19  ***************************************************************************/
20 
21 /*
22  * params.h
23  *
24  * Execution parameters.
25  *
26  */
27 
28 #ifndef PARAMS_H
29 #define PARAMS_H
30 
31 #include <stdio.h>
32 #include "charset.h"
33 
34 extern FILE *param_inputf;
35 extern FILE *param_outputf;
36 
37 extern charset_t *param_charset_in;
38 extern charset_t *param_charset_out;
39 extern int   param_strict;
40 extern int   param_doctype;
41 extern int   param_chars_per_line;
42 extern int   param_tab_len;
43 extern int   param_pre_comments; /* preserve spacing inside comments */
44 extern int   param_protect_cdata;
45 extern int   param_cgi_html_output;
46 extern int   param_compact_block_elms;
47 extern int   param_compact_empty_elm_tags;
48 extern int   param_empty_tags;
49 extern int   param_crlf_eol;
50 extern int   param_generate_snippet;
51 
52 void params_set_defaults(void);
53 
54 #endif
55