home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d07xx / d0797.lha / BBBF / Programmers / include / BBBF.h
C/C++ Source or Header  |  1993-01-10  |  799b  |  23 lines

  1.  
  2. struct Bootblock
  3. {
  4.   struct Bootblock *Next;
  5.   char  bootname[30];
  6.  
  7.   /* Private use! Don't touch! */
  8.  
  9.   UBYTE pos[4];
  10.   ULONG bootsum;
  11. };
  12.  
  13. #define BBBF_LOADED           0     /* Loaded and everything's ok     */
  14. #define BBBF_NOT_BBBF        -1     /* It was no brainfile...         */
  15. #define BBBF_CHECKSUM_ERROR  -2     /* Someone has fiddled with it... */
  16. #define BBBF_ALREADY_LOADED  -3     /* Ready for use...               */
  17. #define BBBF_OUT_OF_MEMORY   -4     /* Free some and try again...     */
  18.  
  19. #define BBBF_NOT_LOADED      -1     /* ReadBBBF first...              */
  20. #define BOOT_UNKNOWN          0     /* Not a known virus...           */
  21. #define BOOT_VIRUS            1     /* Install immediately!           */
  22. #define BOOT_NOT_BOOT         2     /* This disk is not bootable      */
  23.