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

     /*    ACCTREC - ACCOUNT FILE RECORD */
static struct new_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 new_acctrec_struct new_acctrec;
#define NEW_ACCTREC  new_acctrec
#define NEW_ACCTDO   new_acctrec.acctdo
#define NEW_SNAMEDO  new_acctrec.snamedo
#define NEW_FNAMEDO  new_acctrec.fnamedo
#define NEW_MIDO     new_acctrec.mido
#define NEW_TTLDO    new_acctrec.ttldo
#define NEW_TELDO    new_acctrec.teldo
#define NEW_ADDR1DO  new_acctrec.addr1do
#define NEW_ADDR2DO  new_acctrec.addr2do
#define NEW_ADDR3DO  new_acctrec.addr3do
#define NEW_AUTH1DO  new_acctrec.auth1do
#define NEW_AUTH2DO  new_acctrec.auth2do
#define NEW_AUTH3DO  new_acctrec.auth3do
#define NEW_AUTH4DO  new_acctrec.auth4do
#define NEW_CARDSDO  new_acctrec.cardsdo
#define NEW_IMODO    new_acctrec.imodo
#define NEW_IDAYDO   new_acctrec.idaydo
#define NEW_IYRDO    new_acctrec.iyrdo
#define NEW_RSNDO    new_acctrec.rsndo
#define NEW_CCODEDO  new_acctrec.ccodedo
#define NEW_APPRDO   new_acctrec.apprdo
#define NEW_SCODE1DO new_acctrec.scode1do
#define NEW_SCODE2DO new_acctrec.scode2do
#define NEW_SCODE3DO new_acctrec.scode3do
#define NEW_STATDO   new_acctrec.statdo
#define NEW_LIMITDO  new_acctrec.limitdo

#define NEW_PAY_HIST(xx) new_acctrec.pay_hist[xx]
#define NEW_BAL(xx)     new_acctrec.pay_hist[xx].bal
#define NEW_BMO(xx)     new_acctrec.pay_hist[xx].bmo
#define NEW_BDAY(xx)    new_acctrec.pay_hist[xx].bday
#define NEW_BYR(xx)     new_acctrec.pay_hist[xx].byr
#define NEW_BAMT(xx)    new_acctrec.pay_hist[xx].bamt
#define NEW_PMO(xx)     new_acctrec.pay_hist[xx].pmo
#define NEW_PDAY(xx)    new_acctrec.pay_hist[xx].pday
#define NEW_PYR(xx)     new_acctrec.pay_hist[xx].pyr
#define NEW_PAMT(xx)    new_acctrec.pay_hist[xx].pamt
