168
|
1 #ifndef NAV_READ_H_INCLUDED
|
|
2 #define NAV_READ_H_INCLUDED
|
|
3
|
|
4 /*
|
|
5 * Copyright (C) 2000, 2001, 2002 Håkan Hjort <d95hjort@dtek.chalmers.se>.
|
|
6 *
|
|
7 * This program is free software; you can redistribute it and/or modify
|
|
8 * it under the terms of the GNU General Public License as published by
|
|
9 * the Free Software Foundation; either version 2 of the License, or
|
|
10 * (at your option) any later version.
|
|
11 *
|
|
12 * This program is distributed in the hope that it will be useful,
|
|
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15 * GNU General Public License for more details.
|
|
16 *
|
|
17 * You should have received a copy of the GNU General Public License
|
|
18 * along with this program; if not, write to the Free Software
|
|
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
20 */
|
|
21
|
|
22 #include <dvdread/nav_types.h>
|
|
23
|
|
24 /**
|
|
25 * Parsing of NAV data, PCI and DSI parts.
|
|
26 */
|
|
27
|
|
28 #ifdef __cplusplus
|
|
29 extern "C" {
|
|
30 #endif
|
|
31
|
|
32 /**
|
|
33 * Reads the PCI packet data pointed to into th pci struct.
|
|
34 *
|
|
35 * @param pci Pointer to the PCI data structure to be filled in.
|
|
36 * @param bufffer Pointer to the buffer of the on disc PCI data.
|
|
37 */
|
|
38 void navRead_PCI(pci_t *, unsigned char *);
|
|
39
|
|
40 /**
|
|
41 * Reads the DSI packet data pointed to into dsi struct.
|
|
42 *
|
|
43 * @param dsi Pointer to the DSI data structure to be filled in.
|
|
44 * @param bufffer Pointer to the buffer of the on disc DSI data.
|
|
45 */
|
|
46 void navRead_DSI(dsi_t *, unsigned char *);
|
|
47
|
|
48 #ifdef __cplusplus
|
|
49 };
|
|
50 #endif
|
|
51 #endif /* NAV_READ_H_INCLUDED */
|