8e680509 |
1 | /* This file is part of the Linux Trace Toolkit viewer |
2 | * Copyright (C) 2003-2004 Michel Dagenais |
3 | * 2005 Mathieu Desnoyers |
4 | * |
5 | * This program is free software; you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License Version 2 as |
7 | * published by the Free Software Foundation; |
8 | * |
9 | * This program is distributed in the hope that it will be useful, |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 | * GNU General Public License for more details. |
13 | * |
14 | * You should have received a copy of the GNU General Public License |
15 | * along with this program; if not, write to the Free Software |
16 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, |
17 | * MA 02111-1307, USA. |
18 | */ |
19 | |
20 | /* print.c |
21 | * |
22 | * Event printing routines header. |
23 | * |
24 | * Use these functions to print textually event fields. |
25 | */ |
26 | |
27 | |
28 | |
29 | void lttv_print_field(LttEvent *e, LttField *f, GString *s, |
73e6c609 |
30 | gboolean field_names, guint element_index); |
8e680509 |
31 | |
32 | void lttv_event_to_string(LttEvent *e, GString *s, |
33 | gboolean mandatory_fields, gboolean field_names, LttvTracefileState *tfs); |
34 | |