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

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 
   2 
   3 #ifndef _FTAPE_EOF_H
   4 #define _FTAPE_EOF_H
   5 
   6 /*
   7  * Copyright (C) 1994-1995 Bas Laarhoven.
   8 
   9  This program is free software; you can redistribute it and/or modify
  10  it under the terms of the GNU General Public License as published by
  11  the Free Software Foundation; either version 2, or (at your option)
  12  any later version.
  13 
  14  This program is distributed in the hope that it will be useful,
  15  but WITHOUT ANY WARRANTY; without even the implied warranty of
  16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  17  GNU General Public License for more details.
  18 
  19  You should have received a copy of the GNU General Public License
  20  along with this program; see the file COPYING.  If not, write to
  21  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  22 
  23  *
  24  $Source: /home/bas/distr/ftape-2.03b/RCS/ftape-eof.h,v $
  25  $Author: bas $
  26  *
  27  $Revision: 1.12 $
  28  $Date: 1995/04/22 07:30:15 $
  29  $State: Beta $
  30  *
  31  *      Definitions and declarations for the end of file markers
  32  *      for the QIC-40/80 floppy-tape driver for Linux.
  33  */
  34 
  35 /*      ftape-eof.c defined global vars.
  36  */
  37 extern int failed_sector_log_changed;
  38 extern int eof_mark;
  39 
  40 /*      ftape-eof.c defined global functions.
  41  */
  42 extern void clear_eof_mark_if_set(unsigned segment, unsigned byte_count);
  43 extern void reset_eof_list(void);
  44 extern int check_for_eof(unsigned segment);
  45 extern int ftape_weof(unsigned count, unsigned segment, unsigned sector);
  46 extern int ftape_erase(void);
  47 extern void put_file_mark_in_map(unsigned segment, unsigned sector);
  48 extern void extract_file_marks(byte * address);
  49 extern int update_failed_sector_log(byte * buffer);
  50 extern int ftape_seek_eom(void);
  51 extern int ftape_seek_eof(unsigned count);
  52 extern int ftape_file_no(daddr_t * file, daddr_t * block);
  53 extern int ftape_validate_label(char *label);
  54 
  55 #endif

/* [previous][next][first][last][top][bottom][index][help] */