* gmon_io.h: Don't include sysdep.h here.
[deliverable/binutils-gdb.git] / gprof / gmon_io.h
1 /* gmon_io.h
2
3 Copyright 2000, 2001, 2002, 2004, 2007, 2008
4 Free Software Foundation, Inc.
5
6 This file is part of GNU Binutils.
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
21 MA 02110-1301, USA. */
22 \f
23 #ifndef gmon_io_h
24 #define gmon_io_h
25
26 #define INPUT_HISTOGRAM (1 << 0)
27 #define INPUT_CALL_GRAPH (1 << 1)
28 #define INPUT_BB_COUNTS (1 << 2)
29
30 extern int gmon_input; /* What input did we see? */
31 extern int gmon_file_version; /* File version are we dealing with. */
32
33 extern int gmon_io_read_vma (FILE *ifp, bfd_vma *valp);
34 extern int gmon_io_read_32 (FILE *ifp, unsigned int *valp);
35 extern int gmon_io_read (FILE *ifp, char *buf, size_t n);
36 extern int gmon_io_write_vma (FILE *ifp, bfd_vma val);
37 extern int gmon_io_write_32 (FILE *ifp, unsigned int val);
38 extern int gmon_io_write_8 (FILE *ifp, unsigned int val);
39 extern int gmon_io_write (FILE *ifp, char *buf, size_t n);
40
41 extern void gmon_out_read (const char *);
42 extern void gmon_out_write (const char *);
43
44 #endif /* gmon_io_h */
This page took 0.033638 seconds and 5 git commands to generate.