Blame src/dvdread/nav_read.h

Packit 015a35
/*
Packit 015a35
 * Copyright (C) 2000, 2001, 2002 HÃ¥kan Hjort <d95hjort@dtek.chalmers.se>.
Packit 015a35
 *
Packit 015a35
 * This file is part of libdvdread.
Packit 015a35
 *
Packit 015a35
 * libdvdread is free software; you can redistribute it and/or modify
Packit 015a35
 * it under the terms of the GNU General Public License as published by
Packit 015a35
 * the Free Software Foundation; either version 2 of the License, or
Packit 015a35
 * (at your option) any later version.
Packit 015a35
 *
Packit 015a35
 * libdvdread is distributed in the hope that it will be useful,
Packit 015a35
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 015a35
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 015a35
 * GNU General Public License for more details.
Packit 015a35
 *
Packit 015a35
 * You should have received a copy of the GNU General Public License along
Packit 015a35
 * with libdvdread; if not, write to the Free Software Foundation, Inc.,
Packit 015a35
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Packit 015a35
 */
Packit 015a35
Packit 015a35
#ifndef LIBDVDREAD_NAV_READ_H
Packit 015a35
#define LIBDVDREAD_NAV_READ_H
Packit 015a35
Packit 015a35
#include "nav_types.h"
Packit 015a35
Packit 015a35
/**
Packit 015a35
 * Parsing of NAV data, PCI and DSI parts.
Packit 015a35
 */
Packit 015a35
Packit 015a35
#ifdef __cplusplus
Packit 015a35
extern "C" {
Packit 015a35
#endif
Packit 015a35
Packit 015a35
/**
Packit 015a35
 * Reads the PCI packet data pointed to into th pci struct.
Packit 015a35
 *
Packit 015a35
 * @param pci Pointer to the PCI data structure to be filled in.
Packit 015a35
 * @param bufffer Pointer to the buffer of the on disc PCI data.
Packit 015a35
 */
Packit 015a35
void navRead_PCI(pci_t *, unsigned char *);
Packit 015a35
Packit 015a35
/**
Packit 015a35
 * Reads the DSI packet data pointed to into dsi struct.
Packit 015a35
 *
Packit 015a35
 * @param dsi Pointer to the DSI data structure to be filled in.
Packit 015a35
 * @param bufffer Pointer to the buffer of the on disc DSI data.
Packit 015a35
 */
Packit 015a35
void navRead_DSI(dsi_t *, unsigned char *);
Packit 015a35
Packit 015a35
#ifdef __cplusplus
Packit 015a35
};
Packit 015a35
#endif
Packit 015a35
#endif /* LIBDVDREAD_NAV_READ_H */