/*
 *========================================================================
 *
 *    : AZN_PLAZA_LANE APP
 *      : file_lb.h
 *      : JBY
 *      : 2018.07.13
 *      : 
 *        : File Queue struct , error log flag values, abs(x) define , error log flag values, abs(x) define
 *
 *========================================================================
*/


#ifndef  _FILE_LB
#define  _FILE_LB

#include "def_set.h"
#include "ipc_def.h"
#include "debug_def.h"

#include "bas_tbl.h"    /*  FILE  */

/* File Queue */
#define    QUE_HEADSIZE    16
#define    QUE_NODATA     -1
#define    QUE_STATFAIL   -2
#define    QUE_READFAIL   -3
#define    QUE_WRITEFAIL  -4


/*----------------------------------------------*
 *    File Queue struct
 *----------------------------------------------*/
typedef struct {
        unsigned long long rear;    
        unsigned long long front;
} FILE_QUE;


/* error log flag values */
#define  LOG0  0x00  /* log              */
#define  LOG1  0x01  /* ELOG.txt log         */
#define  LOG2  0x02  /* ELOG log (DB)  */
#define  LOG3  0x03  /*  1,2 log         */
#define  LOG4  0x04  /* TMP/process_name.log */

#endif  

