/*
 *========================================================================
 *
 *    : AZN_PLAZA_LANE APP
 *      : passraw.h
 *      : JBY (baarong@neighbor21.co.kr)
 *      : 2018.07.13
 *      : 
 *        :    File 
 *
 *========================================================================
*/


#ifndef    _PASSRAW
#define    _PASSRAW

#include "file_ctrl.h"

#define    PASSRAW_RECSIZE    180        /*  data size   */
#define    TRMN_RCV_RECSIZE    248        /*  data size        */

struct passraw {                /*  RECORD        */
    uchar   flag;               /* FLAG             */
    short   leng;             /* Data             */
    uchar   data[PASSRAW_RECSIZE];     /* Data buffer             */
    uchar   filler[4];
};

struct trmn_rcv {                 /*  FILE        */
    uchar   flag;               /* FLAG             */
    uchar   div;            /*                 */
    short   leng;             /* Data             */
    uchar   data[TRMN_RCV_RECSIZE];     /* Data buffer             */
    uchar   filler[4];
};


/* passraw.flag, trmn_rcv.flag          * , flag def.*/
#define    F_END        0        /* End                 */
#define    F_CON        1        /* Continue            */

/* trmn_rcv.gubn                  *          */
#define    D_NORMAL    0        /*             */
#define    D_SAVE        1        /*  DATA SEQ        */
#define    D_RETRY        2        /*             */

#if 0
static struct keydesc passraw_key[] =  {
    {ISNODUPS,  0,  {{0, 0, 0}}, 0, 0},
    {-1,        0,  {{0, 0, 0}}, 0, 0},
};

static struct keydesc trmn_rcv_key[] =  {
    {ISNODUPS,  0,  {{0, 0, 0}}, 0, 0},
    {-1,        0,  {{0, 0, 0}}, 0, 0},
};
#endif
#endif
