10l: comparison of char* ptrs with string literals
[mplayer.git] / dvdread / nav_read.h
blob360fbd4267c4f95d98504030a7840af67d4357dc
1 #ifndef NAV_READ_H_INCLUDED
2 #define NAV_READ_H_INCLUDED
4 /*
5 * Copyright (C) 2000, 2001, 2002 HÃ¥kan Hjort <d95hjort@dtek.chalmers.se>.
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.
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.
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
22 #include <dvdread/nav_types.h>
24 /**
25 * Parsing of NAV data, PCI and DSI parts.
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
32 /**
33 * Reads the PCI packet data pointed to into th pci struct.
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 *);
40 /**
41 * Reads the DSI packet data pointed to into dsi struct.
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.
46 void navRead_DSI(dsi_t *, unsigned char *);
48 #ifdef __cplusplus
50 #endif
51 #endif /* NAV_READ_H_INCLUDED */