/*
 * au_decline_reason_dbio.h - au 모듈 DB 접근 계층 copybook (au_decline_reason_dbio, part of libaudbio.a).
 * ECPG functions; run on the caller's XA branch (no EXEC SQL CONNECT).
 * Return convention: >=0 ok, -1 = SQL error.
 */
#ifndef AU_DECLINE_REASON_DBIO_H
#define AU_DECLINE_REASON_DBIO_H

typedef struct { char biz_date[16]; char reason[128]; long cnt; } au_decline_reason_rec_t;

long audb_decline_total_by_reason(const char *bizdate);

#endif /* AU_DECLINE_REASON_DBIO_H */
