/**********************************************************************/
/*                                                                    */
/* Copyright (c) 2003 by Sun Microsystems, Inc.                       */
/* All rights reserved.                                               */
/*                                                                    */
/**********************************************************************/

      /*    ACCTREC - ACCOUNT FILE RECORD */
struct {
       char acctdo[5];
       char snamedo[18];
       char fnamedo[12];
       char mido;
       char ttldo[4];
       char teldo[10];
       char addr1do[24];
       char addr2do[24];
       char addr3do[24];
       char auth1do[32];
       char auth2do[32];
       char auth3do[32];
       char auth4do[32];
       char cardsdo;
       char imodo[2];
       char idaydo[2];
       char iyrdo[2];
       char rsndo;
       char ccodedo;
       char apprdo[3];
       char scode1do;
       char scode2do;
       char scode3do;
       char statdo[2];
       char limitdo[8];
       struct { 
              char bal[8];
              char bmo[2];
              char bday[2];
              char byr[2];
              char bamt[8];
              char pmo[2];
              char pday[2];
              char pyr[2];
              char pamt[8];
              }    pay_hist[3];
       } old_acctrec;
#define OLD_ACCTREC  old_acctrec
#define OLD_ACCTDO   old_acctrec.acctdo
#define OLD_SNAMEDO  old_acctrec.snamedo
#define OLD_FNAMEDO  old_acctrec.fnamedo
#define OLD_MIDO     old_acctrec.mido
#define OLD_TTLDO    old_acctrec.ttldo
#define OLD_TELDO    old_acctrec.teldo
#define OLD_ADDR1DO  old_acctrec.addr1do
#define OLD_ADDR2DO  old_acctrec.addr2do
#define OLD_ADDR3DO  old_acctrec.addr3do
#define OLD_AUTH1DO  old_acctrec.auth1do
#define OLD_AUTH2DO  old_acctrec.auth2do
#define OLD_AUTH3DO  old_acctrec.auth3do
#define OLD_AUTH4DO  old_acctrec.auth4do
#define OLD_CARDSDO  old_acctrec.cardsdo
#define OLD_IMODO    old_acctrec.imodo
#define OLD_IDAYDO   old_acctrec.idaydo
#define OLD_IYRDO    old_acctrec.iyrdo
#define OLD_RSNDO    old_acctrec.rsndo
#define OLD_CCODEDO  old_acctrec.ccodedo
#define OLD_APPRDO   old_acctrec.apprdo
#define OLD_SCODE1DO old_acctrec.scode1do
#define OLD_SCODE2DO old_acctrec.scode2do
#define OLD_SCODE3DO old_acctrec.scode3do
#define OLD_STATDO   old_acctrec.statdo
#define OLD_LIMITDO  old_acctrec.limitdo

#define OLD_PAY_HIST old_acctrec.pay_hist
#define OLD_BAL(xx)     old_acctrec.pay_hist[xx].bal
#define OLD_BMO(xx)     old_acctrec.pay_hist[xx].bmo
#define OLD_BDAY(xx)    old_acctrec.pay_hist[xx].bday
#define OLD_BYR(xx)     old_acctrec.pay_hist[xx].byr
#define OLD_BAMT(xx)    old_acctrec.pay_hist[xx].bamt
#define OLD_PMO(xx)     old_acctrec.pay_hist[xx].pmo
#define OLD_PDAY(xx)    old_acctrec.pay_hist[xx].pday
#define OLD_PYR(xx)     old_acctrec.pay_hist[xx].pyr
#define OLD_PAMT(xx)    old_acctrec.pay_hist[xx].pamt
