1 /* This file is part of the program psim.
3 Copyright (C) 1994-1995, Andrew Cagney <cagney@highland.com.au>
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 3 of the License, or
8 (at your option) any later version.
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.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, see <http://www.gnu.org/licenses/>.
21 /* LF: Line Numbered Output Stream */
23 typedef struct _lf lf;
33 lf_include_references,
38 /* Open the file NAME for writing. REAL_NAME is to be included in any
39 line number outputs. The output of line number information can be
40 suppressed with LINE_NUMBERS */
45 lf_file_references file_references,
53 /* Basic output functions */
75 ...) __attribute__((format(printf, 2, 3)));
78 /* Indentation control.
80 lf_indent_suppress suppresses indentation on the next line (current
81 line if that has not yet been started) */
83 extern void lf_indent_suppress
91 /* Print generic text: */
94 extern int lf_print__gnu_copyleft
97 extern int lf_print__file_start
100 extern int lf_print__this_file_is_empty
103 extern int lf_print__file_finish
106 extern int lf_print__internal_reference
109 extern int lf_print__external_reference
112 const char *file_name);
114 extern int lf_print__ucase_filename
117 /* Tab prefix is suppressed */
119 extern int lf_print__c_code
124 extern int lf_print_function_type
128 const char *trailing_space);