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 2 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, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 /* LF: Line Numbered Output Stream */
24 typedef struct _lf lf;
34 lf_include_references,
39 /* Open the file NAME for writing. REAL_NAME is to be included in any
40 line number outputs. The output of line number information can be
41 suppressed with LINE_NUMBERS */
46 lf_file_references file_references,
54 /* Basic output functions */
76 ...) __attribute__((format(printf, 2, 3)));
79 /* Indentation control.
81 lf_indent_suppress suppresses indentation on the next line (current
82 line if that has not yet been started) */
84 extern void lf_indent_suppress
92 /* Print generic text: */
95 extern int lf_print__gnu_copyleft
98 extern int lf_print__file_start
101 extern int lf_print__this_file_is_empty
104 extern int lf_print__file_finish
107 extern int lf_print__internal_reference
110 extern int lf_print__external_reference
113 const char *file_name);
115 extern int lf_print__ucase_filename
118 /* Tab prefix is suppressed */
120 extern int lf_print__c_code
125 extern int lf_print_function_type
129 const char *trailing_space);