xref: /openbsd/gnu/usr.bin/binutils/gprof/sym_ids.h (revision c074d1c9)
1 /* sym_ids.h
2 
3    Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
4 
5 This file is part of GNU Binutils.
6 
7 This program 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 of the License, or
10 (at your option) any later version.
11 
12 This program 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 this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
20 
21 #ifndef sym_ids_h
22 #define sym_ids_h
23 
24 typedef enum
25   {
26     INCL_GRAPH = 0, EXCL_GRAPH,
27     INCL_ARCS, EXCL_ARCS,
28     INCL_FLAT, EXCL_FLAT,
29     INCL_TIME, EXCL_TIME,
30     INCL_ANNO, EXCL_ANNO,
31     INCL_EXEC, EXCL_EXEC,
32     NUM_TABLES
33   }
34 Table_Id;
35 
36 extern Sym_Table syms[NUM_TABLES];
37 
38 extern void sym_id_add PARAMS ((const char *, Table_Id));
39 extern void sym_id_parse PARAMS ((void));
40 extern bfd_boolean sym_id_arc_is_present PARAMS ((Sym_Table *, Sym *, Sym *));
41 
42 #endif /* sym_ids_h */
43