Mercurial > libdvdread4.hg
annotate dvdread/nav_read.h @ 45:3307493f20c5 src
Add *BSD porting bits from 0.9.7
Both version 0.9.6 and 0.9.7 had some porting code put in for the
*BSDs. This code is untested by me, but I bet the OpenSolaris
and *BSD folk would love to have it.
author | erik |
---|---|
date | Wed, 02 Sep 2009 01:44:16 +0000 |
parents | c743d79f187b |
children |
rev | line source |
---|---|
3 | 1 /* |
22 | 2 * Copyright (C) 2000, 2001, 2002 HÃ¥kan Hjort <d95hjort@dtek.chalmers.se>. |
3 | 3 * |
21
4aa618ae094f
Use consistent license headers everywhere: Fix FSF address and boilerplate.
diego
parents:
20
diff
changeset
|
4 * This file is part of libdvdread. |
4aa618ae094f
Use consistent license headers everywhere: Fix FSF address and boilerplate.
diego
parents:
20
diff
changeset
|
5 * |
4aa618ae094f
Use consistent license headers everywhere: Fix FSF address and boilerplate.
diego
parents:
20
diff
changeset
|
6 * libdvdread is free software; you can redistribute it and/or modify |
3 | 7 * it under the terms of the GNU General Public License as published by |
8 * the Free Software Foundation; either version 2 of the License, or | |
9 * (at your option) any later version. | |
10 * | |
21
4aa618ae094f
Use consistent license headers everywhere: Fix FSF address and boilerplate.
diego
parents:
20
diff
changeset
|
11 * libdvdread is distributed in the hope that it will be useful, |
3 | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 * GNU General Public License for more details. | |
15 * | |
21
4aa618ae094f
Use consistent license headers everywhere: Fix FSF address and boilerplate.
diego
parents:
20
diff
changeset
|
16 * You should have received a copy of the GNU General Public License along |
4aa618ae094f
Use consistent license headers everywhere: Fix FSF address and boilerplate.
diego
parents:
20
diff
changeset
|
17 * with libdvdread; if not, write to the Free Software Foundation, Inc., |
4aa618ae094f
Use consistent license headers everywhere: Fix FSF address and boilerplate.
diego
parents:
20
diff
changeset
|
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
3 | 19 */ |
20 | |
23 | 21 #ifndef LIBDVDREAD_NAV_READ_H |
22 #define LIBDVDREAD_NAV_READ_H | |
23 | |
3 | 24 #include "nav_types.h" |
25 | |
26 /** | |
27 * Parsing of NAV data, PCI and DSI parts. | |
28 */ | |
29 | |
30 #ifdef __cplusplus | |
31 extern "C" { | |
32 #endif | |
33 | |
34 /** | |
35 * Reads the PCI packet data pointed to into th pci struct. | |
20 | 36 * |
3 | 37 * @param pci Pointer to the PCI data structure to be filled in. |
38 * @param bufffer Pointer to the buffer of the on disc PCI data. | |
20 | 39 */ |
3 | 40 void navRead_PCI(pci_t *, unsigned char *); |
41 | |
42 /** | |
43 * Reads the DSI packet data pointed to into dsi struct. | |
20 | 44 * |
3 | 45 * @param dsi Pointer to the DSI data structure to be filled in. |
46 * @param bufffer Pointer to the buffer of the on disc DSI data. | |
47 */ | |
48 void navRead_DSI(dsi_t *, unsigned char *); | |
49 | |
50 #ifdef __cplusplus | |
51 }; | |
52 #endif | |
23 | 53 #endif /* LIBDVDREAD_NAV_READ_H */ |