output.h revision d71cf2d1b61338c9e77acd5479b017dbc0d2dffd
1/*
2 * This file is part of ltrace.
3 * Copyright (C) 2011 Petr Machata, Red Hat Inc.
4 * Copyright (C) 2009 Juan Cespedes
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
19 * 02110-1301 USA
20 */
21
22#include "forward.h"
23
24void output_line(struct Process *proc, char *fmt, ...);
25void output_left(enum tof type, struct Process *proc,
26		 struct library_symbol *libsym);
27void output_right(enum tof type, struct Process *proc,
28		  struct library_symbol *libsym);
29
30void report_error(char const *file, unsigned line_no, char *fmt, ...);
31void report_warning(char const *file, unsigned line_no, char *fmt, ...);
32void report_global_error(char *fmt, ...);
33