/*
 * CARD_STATE_INQ.h - au 서비스 CARD_STATE_INQ 카피북 (copybook / record header).
 * Request fields:  T_KEY1(카드번호)
 * Response fields: T_STATUS(카드상태), T_AMT1(기본한도), T_AMT2(사용액), T_AMT3(임시한도),
 *                  T_COUNT(당일 승인건수), T_RC(1=블랙리스트 등재)
 */
#ifndef CARD_STATE_INQ_H
#define CARD_STATE_INQ_H

#include "au_svc.h"

typedef struct {
    char card_no[24];
    char status[16];
    long daily_limit;
    long used_amount;
    long temp_limit;
    long today_count;
    long black_flag;
} au_card_state_rec_t;

void CARD_STATE_INQ(TPSVCINFO *p);

#endif /* CARD_STATE_INQ_H */
