| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ZFTAPE_EOF_H | 
 | 2 | #define _ZFTAPE_EOF_H | 
 | 3 |  | 
 | 4 | /* | 
 | 5 |  * Copyright (C) 1994-1995 Bas Laarhoven. | 
 | 6 |  * adaptaed for zftape 1996, 1997 by Claus Heine | 
 | 7 |  | 
 | 8 |  This program is free software; you can redistribute it and/or modify | 
 | 9 |  it under the terms of the GNU General Public License as published by | 
 | 10 |  the Free Software Foundation; either version 2, or (at your option) | 
 | 11 |  any later version. | 
 | 12 |  | 
 | 13 |  This program is distributed in the hope that it will be useful, | 
 | 14 |  but WITHOUT ANY WARRANTY; without even the implied warranty of | 
 | 15 |  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
 | 16 |  GNU General Public License for more details. | 
 | 17 |  | 
 | 18 |  You should have received a copy of the GNU General Public License | 
 | 19 |  along with this program; see the file COPYING.  If not, write to | 
 | 20 |  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 
 | 21 |  | 
 | 22 |  * | 
 | 23 |  * $Source: /homes/cvs/ftape-stacked/ftape/zftape/zftape-eof.h,v $ | 
 | 24 |  * $Revision: 1.2 $ | 
 | 25 |  * $Date: 1997/10/05 19:19:03 $ | 
 | 26 |  * | 
 | 27 |  *      Definitions and declarations for the end of file markers | 
 | 28 |  *      for the QIC-40/80 floppy-tape driver for Linux. | 
 | 29 |  */ | 
 | 30 |  | 
 | 31 | #include <linux/ftape-header-segment.h> | 
 | 32 | #include "../zftape/zftape-buffers.h" | 
 | 33 | /*  failed sector log size (only used if format code != 4). | 
 | 34 |  */ | 
 | 35 |  | 
 | 36 | typedef union { | 
 | 37 | 	ft_fsl_entry mark; | 
 | 38 | 	__u32 entry; | 
 | 39 | } eof_mark_union; | 
 | 40 |   | 
 | 41 | /*      ftape-eof.c defined global vars. | 
 | 42 |  */ | 
 | 43 | extern int zft_nr_eof_marks; | 
 | 44 | extern eof_mark_union *zft_eof_map; | 
 | 45 |  | 
 | 46 | /*      ftape-eof.c defined global functions. | 
 | 47 |  */ | 
 | 48 | extern void zft_ftape_extract_file_marks(__u8* address); | 
 | 49 | extern int  zft_ftape_validate_label(char* label); | 
 | 50 | extern void zft_clear_ftape_file_marks(void); | 
 | 51 |  | 
 | 52 | #endif |