// EVERLOCK SB structure

// Last Updated 15/Oct/96 SSS 

typedef struct SecureBlock       /* 770 bytes total */
{
   char  id[4];         // 000 ID literal to scan for 'AZSB'
   char  drv;           // 004 Drive Pgm was loaded from (ASCII)
   char  auth;          // 005 Auth Device (A,B,C=disk)
   char  ptype;         // 006 Protection Type (C,D,E,I,P)
   char  prod[9];       // 007 Product Name (ASCIIZ)
   unsigned long snp;   // 016 Product serial number
   unsigned short hnuc; // 020 NUC file handle
   unsigned short avers;// 022 Authorization version number
   unsigned short ecl;  // 024 Exec-Count Limit
   short dft;           // 026 0 = m/d/y, 1 = d/m/y, 2 = y/m/d
   unsigned short edl;  // 028 Expire-Days Limit
   unsigned short etl;  // 030 Elapsed time on last day (etl * 2)secs
   char  ed[9];         // 032 Expire-Date (ASCIIZ)
   char  chksum;        // 041 checksum
   unsigned short nuc;  // 042 Network-Users current count
   unsigned short nul;  // 044 Network-Users Limit
   short icr;           // 046 Install counts remaining
   char  accflg[8];     // 048 Access Flags 1-64
   char  usrdat[8];     // 056 User-Data
   char  rtype;         // 064 Reg. Type (N,U=Non-Ver, None)
   char  rname[51];     // 065 Register name (ASCIIZ)
   char  rcomp[51];     // 116 Register to company (ASCIIZ)
   char  rloc[51];      // 167 Register to location (ASCIIZ)
   char  rdate[9];      // 218 Register Date (ASCIIZ)
   char  cdate[9];      // 227 Current System Date (ASCIIZ)
   char  rsrvd1[20];    // 236 
   char  secstr[256];   // 256 Secure-String (expanded ASCIIZ)
   short func;          // 512 function #
   short stat1;         // 514 pass completion status
   short stat2;         // 516 pass completion status
   short stat3;         // 518 pass completion status
   char  source[63];    // 520 source path (including drive ASCIIZ)
   char  target[63];    // 583 target path (including drive ASCIIZ)
   char  rsrvd2[2];     // 646
   unsigned long pin;   // 648 PIN (SCB Only)
   short ruc;           // 652 reset use count
   short pcnt;          // 654 # programs updated
   char  rsrvd3[2];     // 656
   short uninst;        // 658 DO Uninstall (0=No/1=Yes)
   short reg;           // 660 NV Reg during install (0=No/1=Yes)
   char  rsrvd4[4];     // 662
   char  code[30];      // 666 auth code (ASCIIZ nnnnn-nnnnn-nnnnn-nnnnn-nnnnn)
   char  rsrvd5[74];    // 696
}SB;


