* Makefile.in (DEMANGLING_STYLE): New define to set default
[external/binutils.git] / gdb / demangle.h
1 /* Defs for interface to demanglers.
2    Copyright 1992 Free Software Foundation, Inc.
3    
4    This program is free software; you can redistribute it and/or modify
5    it under the terms of the GNU General Public License as published by
6    the Free Software Foundation; either version 2, or (at your option)
7    any later version.
8
9    This program is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12    GNU General Public License for more details.
13
14    You should have received a copy of the GNU General Public License
15    along with this program; if not, write to the Free Software
16    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
17
18
19 #define DMGL_PARAMS     (1 << 0)        /* Include function args */
20 #define DMGL_ANSI       (1 << 1)        /* Include const, volatile, etc */
21
22 extern enum demangling_styles
23 {
24   unknown_demangling = 0,
25   auto_demangling,
26   gnu_demangling,
27   lucid_demangling,
28   cfront_demangling
29 } current_demangling_style;
30
31 #define GNU_DEMANGLING_STYLE_STRING     "gnu"
32 #define LUCID_DEMANGLING_STYLE_STRING   "lucid"
33 #define CFRONT_DEMANGLING_STYLE_STRING  "cfront"
34 #define AUTO_DEMANGLING_STYLE_STRING    "auto"
35
36 extern void
37 set_demangling_style PARAMS ((char *));