2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
[binutils.git] / gprof / sym_ids.h
blob4cef81d09c693385ea03cff52804682fd2389814
1 /* sym_ids.h
3 Copyright 2000, 2001 Free Software Foundation, Inc.
5 This file is part of GNU Binutils.
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.
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.
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. */
21 #ifndef sym_ids_h
22 #define sym_ids_h
24 #include "symtab.h"
26 typedef enum
28 INCL_GRAPH = 0, EXCL_GRAPH,
29 INCL_ARCS, EXCL_ARCS,
30 INCL_FLAT, EXCL_FLAT,
31 INCL_TIME, EXCL_TIME,
32 INCL_ANNO, EXCL_ANNO,
33 INCL_EXEC, EXCL_EXEC,
34 NUM_TABLES
36 Table_Id;
38 extern Sym_Table syms[NUM_TABLES];
40 extern void sym_id_add PARAMS ((const char *, Table_Id));
41 extern void sym_id_parse PARAMS ((void));
42 extern bool sym_id_arc_is_present PARAMS ((Sym_Table *, Sym *, Sym *));
44 #endif /* sym_ids_h */