home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 10 / mycd10.iso / share / os2 / utilidad / ext2fl / e2inutil.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-31  |  2.7 KB  |  48 lines

  1. /************************************************************************/
  2. /*                       Linux partition filter.                        */
  3. /*          (C) Copyright Deon van der Westhuysen, July 1995.           */
  4. /*                                                                      */
  5. /*  Dedicated to Jesus Christ, my Lord and Saviour.                     */
  6. /*                                                                      */
  7. /* This program is free software; you can redistribute it and/or modify */
  8. /* it under the terms of the GNU General Public License as published by */
  9. /* the Free Software Foundation; either version 2, or (at your option)  */
  10. /* any later version.                                                   */
  11. /*                                                                      */
  12. /* This program is distributed in the hope that it will be useful,      */
  13. /* but WITHOUT ANY WARRANTY; without even the implied warranty of       */
  14. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        */
  15. /* GNU General Public License for more details.                         */
  16. /*                                                                      */
  17. /* You should have received a copy of the GNU General Public License    */
  18. /* along with this program; if not, write to the Free Software          */
  19. /* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.            */
  20. /*                                                                      */
  21. /*  This code is still under development; expect some rough edges.      */
  22. /*                                                                      */
  23. /************************************************************************/
  24.  
  25. #ifndef _E2INUTIL_H_
  26. #define _E2INUTIL_H_
  27.  
  28. #include "os2head.h"
  29.  
  30. USHORT InitAddBaseUnit (PADDEntryPoint pADDEntry, PADAPTERINFO pAdapterInfo);
  31. USHORT InitRemoveBaseUnit (void);
  32. USHORT InitFilterBaseUnit (int Index);
  33. int InitAddVirtualUnit (ULONG StartRBA, ULONG NumSectors, UCHAR SysIndicator);
  34.  
  35. USHORT InitReadDevTable (PADDEntryPoint pAddEP, PDEVICETABLE pDevTable,
  36.                          USHORT DevTableLen);
  37. USHORT InitAllocateUnit (PADDEntryPoint pAddEP, USHORT UnitHandle);
  38. USHORT InitFreeUnit (PADDEntryPoint pAddEP, USHORT UnitHandle);
  39. USHORT InitChangeUnitInfo (PADDEntryPoint pAddEP, USHORT UnitHandle,
  40.                            PUNITINFO pUnitInfo);
  41. USHORT InitGetGeometry (PADDEntryPoint pAddEP, USHORT UnitHandle,
  42.                         USHORT FAR *NumHeads, USHORT FAR *TrackSectors);
  43. USHORT InitReadSector (PADDEntryPoint pAddEP, USHORT UnitHandle,
  44.                        ULONG SectorRBA, ULONG ppSectorBuf);
  45. USHORT InitSendIORB(PIORB pIORB, PADDEntryPoint pADDEntry);
  46.  
  47. #endif
  48.