nav_read.h 1.19 KB
Newer Older
Stéphane Borel's avatar
Stéphane Borel committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * Copyright (C) 2000, 2001 Håkan Hjort <d95hjort@dtek.chalmers.se>.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#ifndef NAV_READ_H_INCLUDED
#define NAV_READ_H_INCLUDED

22
#include "nav_types.h"
Stéphane Borel's avatar
Stéphane Borel committed
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

#ifdef __cplusplus
extern "C" {
#endif

/**
 * Reads the PCI packet which begins at buffer into pci.
 */
void navRead_PCI(pci_t *pci, unsigned char *buffer);

/**
 * Reads the DSI packet which begins at buffer into dsi.
 */
void navRead_DSI(dsi_t *dsi, unsigned char *buffer);

#ifdef __cplusplus
};
#endif
#endif /* NAV_READ_H_INCLUDED */