home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / e2fltsrc.zip / e2inutil.h < prev    next >
C/C++ Source or Header  |  1995-07-24  |  2KB  |  37 lines

  1. /************************************************************************/
  2. /*  Linux partition filter (C) Deon van der Westhuysen.                 */
  3. /*                                                                      */
  4. /*  Dedicated to Jesus Christ, my Lord and Saviour.                     */
  5. /*                                                                      */
  6. /*  Permission is granted to freely use and modify this code for non-   */
  7. /*  profit use on the condition that this notice is not removed. All    */
  8. /*  other rights are reserved. No warranty, etc.                        */
  9. /*                                                                      */
  10. /*  This code is still under development; expect some rough edges.      */
  11. /*                                                                      */
  12. /************************************************************************/
  13.  
  14. #ifndef _E2INUTIL_H_
  15. #define _E2INUTIL_H_
  16.  
  17. #include "os2head.h"
  18.  
  19. USHORT InitAddBaseUnit (PADDEntryPoint pADDEntry, PADAPTERINFO pAdapterInfo);
  20. USHORT InitRemoveBaseUnit (void);
  21. USHORT InitFilterBaseUnit (int Index);
  22. int InitAddVirtualUnit (ULONG StartRBA, ULONG NumSectors, UCHAR SysIndicator);
  23.  
  24. USHORT InitReadDevTable (PADDEntryPoint pAddEP, PDEVICETABLE pDevTable,
  25.                          USHORT DevTableLen);
  26. USHORT InitAllocateUnit (PADDEntryPoint pAddEP, USHORT UnitHandle);
  27. USHORT InitFreeUnit (PADDEntryPoint pAddEP, USHORT UnitHandle);
  28. USHORT InitChangeUnitInfo (PADDEntryPoint pAddEP, USHORT UnitHandle,
  29.                            PUNITINFO pUnitInfo);
  30. USHORT InitGetGeometry (PADDEntryPoint pAddEP, USHORT UnitHandle,
  31.                         USHORT FAR *NumHeads, USHORT FAR *TrackSectors);
  32. USHORT InitReadSector (PADDEntryPoint pAddEP, USHORT UnitHandle,
  33.                        ULONG SectorRBA, ULONG ppSectorBuf);
  34. USHORT InitSendIORB(PIORB pIORB, PADDEntryPoint pADDEntry);
  35.  
  36. #endif
  37.