home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 October / Chip_2001-10_cd1.bin / zkuste / delphi / nastroje / d23456 / NSIS.EXE / Source / util.h < prev   
C/C++ Source or Header  |  2001-05-30  |  593b  |  14 lines

  1. #ifndef _UTIL_H_
  2. #define _UTIL_H_
  3.  
  4. // these are the standard pause-before-quit shit.
  5. extern int g_dopause;
  6. extern void dopause(void);
  7.  
  8. // searches hdr for srch, allowing the first startoffs bytes to differ.
  9. int find_data_offset(char *hdr, int hdr_len, char *srch, int startoffs, int srchlen);
  10.  
  11. int replace_bitmap(char *out, char *filename); // repalces out with a 358 byte image of a 20x20x16 bitmap from filename.
  12. int replace_icon(char *out, char *filename); // replaces out with a 766 byte image of an icon, loaded from the 32x32x16 color portion of filename.
  13.  
  14. #endif //_UTIL_H_