| 1 |
rousseau |
269 |
/*
|
| 2 |
|
|
utils.c:
|
| 3 |
rousseau |
1105 |
Copyright (C) 2003-2004 Ludovic Rousseau
|
| 4 |
rousseau |
269 |
|
| 5 |
rousseau |
1399 |
This library is free software; you can redistribute it and/or
|
| 6 |
|
|
modify it under the terms of the GNU Lesser General Public
|
| 7 |
|
|
License as published by the Free Software Foundation; either
|
| 8 |
|
|
version 2.1 of the License, or (at your option) any later version.
|
| 9 |
rousseau |
269 |
|
| 10 |
rousseau |
1399 |
This library is distributed in the hope that it will be useful,
|
| 11 |
rousseau |
269 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 12 |
rousseau |
1399 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 13 |
|
|
Lesser General Public License for more details.
|
| 14 |
rousseau |
269 |
|
| 15 |
rousseau |
1399 |
You should have received a copy of the GNU Lesser General Public
|
| 16 |
|
|
License along with this library; if not, write to the Free Software
|
| 17 |
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
| 18 |
rousseau |
269 |
*/
|
| 19 |
|
|
|
| 20 |
|
|
/*
|
| 21 |
|
|
* $Id$
|
| 22 |
|
|
*/
|
| 23 |
|
|
|
| 24 |
|
|
#ifndef TRUE
|
| 25 |
|
|
#define FALSE 0
|
| 26 |
|
|
#define TRUE 1
|
| 27 |
|
|
#endif
|
| 28 |
|
|
|
| 29 |
rousseau |
1105 |
void InitReaderIndex(void);
|
| 30 |
|
|
int GetNewReaderIndex(const DWORD Lun);
|
| 31 |
|
|
int LunToReaderIndex(DWORD Lun);
|
| 32 |
|
|
int ReleaseReaderIndex(const int index);
|
| 33 |
rousseau |
269 |
|