output.h revision 89c5ca29993660f2edb2d875bd26748e09400f4d
1/*
2 * This file is part of ltrace.
3 * Copyright (C) 2011, 2012 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#include "fetch.h"
22
23#include "forward.h"
24
25void output_line(struct Process *proc, const char *fmt, ...);
26void output_left(enum tof type, struct Process *proc,
27		 struct library_symbol *libsym);
28void output_right(enum tof type, struct Process *proc,
29		  struct library_symbol *libsym);
30
31void report_error(char const *file, unsigned line_no, const char *fmt, ...);
32void report_warning(char const *file, unsigned line_no, const char *fmt, ...);
33void report_global_error(const char *fmt, ...);
34