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

  1. #ifndef _H_INSTALL
  2. #define _H_INSTALL
  3.  
  4. #include <stdio.h>
  5.  
  6. #define INSTALL_PERCENT         (1 << 0)
  7. #define INSTALL_HASH            (1 << 1)
  8. #define INSTALL_NODEPS          (1 << 2)
  9. #define INSTALL_NOORDER         (1 << 3)
  10.  
  11. #define UNINSTALL_NODEPS        (1 << 0)
  12. #define UNINSTALL_ALLMATCHES    (1 << 1)
  13.  
  14. int doInstall(char * rootdir, char ** argv, char * prefix, int installFlags, 
  15.           int interfaceFlags);
  16. int doSourceInstall(char * prefix, char * arg, char ** specFile);
  17. int doUninstall(char * rootdir, char ** argv, int uninstallFlags, 
  18.          int interfaceFlags);
  19. void printDepFlags(FILE * f, char * version, int flags);
  20.  
  21. #endif
  22.  
  23.