PageRenderTime 20ms CodeModel.GetById 12ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/drivers/char/ftape/zftape/zftape-eof.h

https://bitbucket.org/evzijst/gittest
C Header | 52 lines | 14 code | 6 blank | 32 comment | 0 complexity | 1bf5ecf1787ad7341cd9d9ad1f09e02f MD5 | raw file
 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
36typedef union {
37	ft_fsl_entry mark;
38	__u32 entry;
39} eof_mark_union;
40 
41/*      ftape-eof.c defined global vars.
42 */
43extern int zft_nr_eof_marks;
44extern eof_mark_union *zft_eof_map;
45
46/*      ftape-eof.c defined global functions.
47 */
48extern void zft_ftape_extract_file_marks(__u8* address);
49extern int  zft_ftape_validate_label(char* label);
50extern void zft_clear_ftape_file_marks(void);
51
52#endif