home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / binutils-2.7-src.tgz / tar.out / fsf / binutils / gas / listing.h < prev    next >
C/C++ Source or Header  |  1996-09-28  |  2KB  |  57 lines

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