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

      /*    ACCTREC - ACCOUNT FILE RECORD */
struct old_acctrec_struct {
       char acctdo[6];
       char snamedo[19];
       char fnamedo[13];
       char mido;
       char ttldo[5];
       char teldo[11];
       char addr1do[25];
       char addr2do[25];
       char addr3do[25];
       char auth1do[33];
       char auth2do[33];
       char auth3do[33];
       char auth4do[33];
       char cardsdo;
       char imodo[3];
       char idaydo[3];
       char iyrdo[3];
       char rsndo;
       char ccodedo;
       char apprdo[4];
       char scode1do;
       char scode2do;
       char scode3do;
       char statdo[3];
       char limitdo[9];
       struct { 
              char bal[9];
              char bmo[3];
              char bday[3];
              char byr[3];
              char bamt[9];
              char pmo[3];
              char pday[3];
              char pyr[3];
              char pamt[9];
              }    pay_hist[3];
       } ;
struct old_acctrec_struct 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
