Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / char / ftape / zftape / zftape-eof.h
blob26568c26c518e4f054acbab7a427c94f2ba1649f
1 #ifndef _ZFTAPE_EOF_H
2 #define _ZFTAPE_EOF_H
4 /*
5 * Copyright (C) 1994-1995 Bas Laarhoven.
6 * adaptaed for zftape 1996, 1997 by Claus Heine
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.
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.
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.
23 * $Source: /homes/cvs/ftape-stacked/ftape/zftape/zftape-eof.h,v $
24 * $Revision: 1.2 $
25 * $Date: 1997/10/05 19:19:03 $
27 * Definitions and declarations for the end of file markers
28 * for the QIC-40/80 floppy-tape driver for Linux.
31 #include <linux/ftape-header-segment.h>
32 #include "../zftape/zftape-buffers.h"
33 /* failed sector log size (only used if format code != 4).
36 typedef union {
37 ft_fsl_entry mark;
38 __u32 entry;
39 } eof_mark_union;
41 /* ftape-eof.c defined global vars.
43 extern int zft_nr_eof_marks;
44 extern eof_mark_union *zft_eof_map;
46 /* ftape-eof.c defined global functions.
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);
52 #endif