home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / misc / src / install / libfdisk / partition.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-09-17  |  617 b   |  23 lines

  1. /* these routines work at a higher, abstract level than those in rawio.c */
  2. #ifndef FDISK_USEROPS_H
  3. #define FDISK_USEROPS_H
  4.  
  5. int fdiskReadPartitions( HardDrive *hd );
  6.  
  7. int fdiskWritePartitions( HardDrive *hd );
  8.  
  9. int fdiskCreatePartition( HardDrive *hd, unsigned int n );
  10.  
  11. int fdiskRemovePartition( HardDrive *hd, unsigned int n );
  12.  
  13. int fdiskSetAttrPartition( HardDrive *hd, unsigned int n, Partition *p );
  14.  
  15. int fdiskGetAttrPartition( HardDrive *hd, unsigned int n, Partition **p );
  16.  
  17. int fdiskFirstPartition( HardDrive *hd, unsigned int *first );
  18.  
  19. int fdiskLastPartition( HardDrive *hd, unsigned int *last );
  20. #endif
  21.  
  22.  
  23.