home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1999 May / pcp151c.iso / misc / src / install / fsedit.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-13  |  767 b   |  33 lines

  1. #ifndef FSEDIT_H
  2. #define FSEDIT_H
  3.  
  4. #include "hd.h"
  5. #include "fs.h"
  6.  
  7. /* drives is NULL terminated */
  8. int kickstartPartitioning(struct partitionTable * parts, struct fstab * fstab, 
  9.              char **drives);
  10.  
  11. #define FSEDIT_READONLY        (1 << 0)
  12. #define FSEDIT_CLEARLINUX    (1 << 1)
  13. #define FSEDIT_CLEARALL     (1 << 2)
  14. #define FSEDIT_USEEXISTING     (1 << 3)
  15.  
  16. struct attemptedPartition {
  17.     char * mount;        /* NULL for the last in the list */
  18.     int size;            /* size in megs */
  19.     int type;
  20.     int grow;
  21.     int start;
  22. };
  23.  
  24. int FSEditPartitions(struct partitionTable * parts, struct fstab * fstab, 
  25.              char **drives,
  26.              struct intfInfo * intf, struct netInfo * netc,
  27.              struct driversLoaded ** dl, 
  28.              struct attemptedPartition * goals,
  29.              int flags);
  30.  
  31. #endif
  32.  
  33.