zftape-write.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 __user *buff, int req_len);
  31. #endif /* _ZFTAPE_WRITE_H */