/*
 * au_summary_query_dbio.h - au 모듈 DB 접근 계층 copybook (au_summary_query_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_SUMMARY_QUERY_DBIO_H
#define AU_SUMMARY_QUERY_DBIO_H

typedef struct { char merchant_id[64]; char biz_date[16]; long approve_count; } au_summary_q_rec_t;

long audb_summary_approve_count(const char *merch, const char *bizdate);

#endif /* AU_SUMMARY_QUERY_DBIO_H */
