listing.h revision 33965
1/* This file is listing.h
2   Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 1997
3   Free Software Foundation, Inc.
4
5   This file is part of GAS, the GNU Assembler.
6
7   GAS is free software; you can redistribute it and/or modify
8   it under the terms of the GNU General Public License as published by
9   the Free Software Foundation; either version 2, or (at your option)
10   any later version.
11
12   GAS is distributed in the hope that it will be useful,
13   but WITHOUT ANY WARRANTY; without even the implied warranty of
14   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   GNU General Public License for more details.
16
17   You should have received a copy of the GNU General Public License
18   along with GAS; see the file COPYING.  If not, write to the Free
19   Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20   02111-1307, USA.  */
21
22#ifndef __listing_h__
23#define __listing_h__
24
25#define LISTING_LISTING    1
26#define LISTING_SYMBOLS    2
27#define LISTING_NOFORM     4
28#define LISTING_HLL        8
29#define LISTING_NODEBUG   16
30#define LISTING_NOCOND	  32
31
32#define LISTING_DEFAULT    (LISTING_LISTING | LISTING_HLL |  LISTING_SYMBOLS)
33
34#ifndef NO_LISTING
35#define LISTING_NEWLINE() { if (listing) listing_newline(input_line_pointer); }
36#else
37#define LISTING_NEWLINE() {;}
38#endif
39
40#define LISTING_SKIP_COND() ((listing & LISTING_NOCOND) != 0)
41
42void listing_eject PARAMS ((int));
43void listing_error PARAMS ((const char *message));
44void listing_file PARAMS ((const char *name));
45void listing_flags PARAMS ((int));
46void listing_list PARAMS ((int on));
47void listing_newline PARAMS ((char *ps));
48void listing_prev_line PARAMS ((void));
49void listing_print PARAMS ((char *name));
50void listing_psize PARAMS ((int));
51void listing_nopage PARAMS ((int));
52void listing_source_file PARAMS ((const char *));
53void listing_source_line PARAMS ((unsigned int));
54void listing_title PARAMS ((int depth));
55void listing_warning PARAMS ((const char *message));
56void listing_width PARAMS ((unsigned int x));
57
58#endif /* __listing_h__ */
59
60/* end of listing.h */
61