/*@P************************************************************************
 * File           : EVSB.H
 * Description    : EVERLOCK Authorization Module
 *
 * Copyright (c) 1994-95 Az-Tech Software, Inc.
 * ALL RIGHTS RESERVED
 ************************************************************************P@*/

typedef struct tagSB             // 768 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, 1,2,3=LPT#)
   char  ptype;                  // 006 product type
   char  prod[9];                // 007 Product Name (ASCIIZ)
   unsigned long snp;            // 016 product serial number
   unsigned short hnuc;          // 020 NUC file handle
   char  rsvd1[2];               // 022
   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  checksum;               // 041 checksum
   unsigned short nuc;           // 042 Network Concurrent-Users current count
   unsigned short nul;           // 044 Network Concurrent-Users Limit
   short icr;                    // 046 install counts remaining
   char  accflg[8];              // 048 Access Flags 1-64
   char  usrdat[8];              // 048 User-Data
   char  rtype;                  // 064 Register Type (V,N,U=Ver,Non-Ver, None)
   char  rname[51];              // 065 register to 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  rsrvd2[20];             // 236 Reserved
   char  secstr[256];            // 256 Secure-String (ASCIIZ)
   short func;                   // 512 function #
   short stat1;                  // 514 pass completion status
   short stat2;                  // 516 pass completion status
   short stat3;                  // 518 pass completion status
   char  frpath[63];             // 520 from path (including drive ASCIIZ)
   char  topath[63];             // 583 to path (including drive ASCIIZ)
   unsigned long pin;            // 646 PIN (SCB only)
   short ruc;                    // 650 Reset Use Count
   short pcnt;                   // 652 # of programs updated
   char  rsrvd3[2];              // 654 Reserved
   short uninst;                 // 656 Do unintall (0=No/1=Yes)
   short reg;                    // 658 Do NV Reg during install (0=No/1=Yes)
   char  rsrvd4[4];              // 660 Reserved
   char  code[18];               // 664 ASCIZ ATH Code  (nnnnn-nnnnn-nnnnn).
   char  rsrvd5[86];             // 682 Reserved
} SB;

/* End of Header File */
