zftape-write.h
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:1k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. #ifndef _ZFTAPE_WRITE_H
  2. #define _ZFTAPE_WRITE_H
  3. /*
  4.  * Copyright (C) 1996, 1997 Claus-Justus Heine
  5.  This program is free software; you can redistribute it and/or modify
  6.  it under the terms of the GNU General Public License as published by
  7.  the Free Software Foundation; either version 2, or (at your option)
  8.  any later version.
  9.  This program is distributed in the hope that it will be useful,
  10.  but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.  GNU General Public License for more details.
  13.  You should have received a copy of the GNU General Public License
  14.  along with this program; see the file COPYING.  If not, write to
  15.  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  16.  *
  17.  * $Source: /homes/cvs/ftape-stacked/ftape/zftape/zftape-write.h,v $
  18.  * $Revision: 1.2 $
  19.  * $Date: 1997/10/05 19:19:13 $
  20.  *
  21.  *      This file contains the definitions for the write functions
  22.  *      for the zftape driver for Linux.
  23.  *
  24.  */
  25. extern int  zft_flush_buffers(void);
  26. extern int  zft_update_header_segments(void);
  27. extern void zft_prevent_flush(void);
  28. /*  hook for the VFS interface 
  29.  */
  30. extern int _zft_write(const char *buff, int req_len);
  31. #endif /* _ZFTAPE_WRITE_H */