/*
 * PREAUTH_INQ.h - au 서비스 PREAUTH_INQ 카피북 (copybook / record header).
 * Request fields:  T_KEY1(카드번호)
 * Response fields: T_ARG1(미확정 P건수), T_ARG2(확정 C건수), T_ARG3(취소 X건수),
 *                  T_AMT1(미확정 홀드금액), T_RC(1=홀드 잔존)
 */
#ifndef PREAUTH_INQ_H
#define PREAUTH_INQ_H

#include "au_svc.h"

typedef struct {
    char card_no[24];
    long pending_cnt;
    long confirmed_cnt;
    long canceled_cnt;
    long hold_amount;
} au_preauth_inq_rec_t;

void PREAUTH_INQ(TPSVCINFO *p);

#endif /* PREAUTH_INQ_H */
