annotate nav_print.h @ 12:056f5573a7dc src

moved various pieces of duplicated code to free_ptl_mait(); patch by Erik Hovland org
author nicodvb
date Wed, 16 Jul 2008 07:46:33 +0000
parents fdbae45c30fc
children fce16251755c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
1 #ifndef NAV_PRINT_H_INCLUDED
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
2 #define NAV_PRINT_H_INCLUDED
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
3
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
4 /*
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
5 * Copyright (C) 2001, 2002 Billy Biggs <vektor@dumbterm.net>,
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
6 * Håkan Hjort <d95hjort@dtek.chalmers.se>
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
7 *
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
8 * This program is free software; you can redistribute it and/or modify
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
9 * it under the terms of the GNU General Public License as published by
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or (at
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
11 * your option) any later version.
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
12 *
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
13 * This program is distributed in the hope that it will be useful, but
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
16 * General Public License for more details.
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
17 *
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
18 * You should have received a copy of the GNU General Public License
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
19 * along with this program; if not, write to the Free Software
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
21 */
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
22
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
23 #include "nav_types.h"
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
24
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
25 /**
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
26 * Pretty printing of the NAV packets, PCI and DSI structs.
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
27 */
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
28
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
29 #ifdef __cplusplus
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
30 extern "C" {
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
31 #endif
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
32
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
33 /**
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
34 * Prints information contained in the PCI to stdout.
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
35 *
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
36 * @param pci Pointer to the PCI data structure to be printed.
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
37 */
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
38 void navPrint_PCI(pci_t *);
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
39
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
40 /**
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
41 * Prints information contained in the DSI to stdout.
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
42 *
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
43 * @param dsi Pointer to the DSI data structure to be printed.
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
44 */
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
45 void navPrint_DSI(dsi_t *);
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
46
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
47 #ifdef __cplusplus
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
48 };
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
49 #endif
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
50 #endif /* NAV_PRINT_H_INCLUDED */