home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 June / PCWorld_2005-06_cd.bin / software / vyzkuste / firewally / firewally.exe / framework-2.3.exe / rdevio.h < prev    next >
C/C++ Source or Header  |  2004-01-30  |  837b  |  43 lines

  1. /* cygwin/rdevio.h
  2.  
  3.    Copyright 1999, 2001 Red Hat, Inc.
  4.  
  5.    Written by Corinna Vinschen <corinna@vinschen.de>
  6.  
  7. This file is part of Cygwin.
  8.  
  9. This software is a copyrighted work licensed under the terms of the
  10. Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
  11. details. */
  12.  
  13. /*
  14.  * cygwin/rdevio.h header file for Cygwin.
  15.  *
  16.  * Written by C. Vinschen.
  17.  */
  18.  
  19. #ifndef _CYGWIN_RDEVIO_H
  20. #define _CYGWIN_RDEVIO_H
  21.  
  22. /* structure for RDIOCDOP - raw device operation */
  23. struct rdop {
  24.     short        rd_op;
  25.     unsigned long    rd_parm;
  26. };
  27.  
  28. /* Raw device operations */
  29. #define RDSETBLK    1    /* set buffer for driver */
  30.  
  31. /* structure for RDIOCGET - get raw device */
  32. struct rdget {
  33.     unsigned long    bufsiz;
  34. };
  35.  
  36. /*
  37.  * ioctl commands
  38. */
  39. #define RDIOCDOP    _IOW('r', 128, struct rdop)
  40. #define RDIOCGET    _IOR('r', 129, struct rdget)
  41.  
  42. #endif /* _CYGWIN_RDEVIO_H */
  43.