/*
 * au_summary_weightavg_dbio.h - au 모듈 DB 접근 계층 copybook (au_summary_weightavg_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.
 * Shape: 커서 누산 기반 건수 가중 평균 티켓.
 */
#ifndef AU_SUMMARY_WEIGHTAVG_DBIO_H
#define AU_SUMMARY_WEIGHTAVG_DBIO_H

typedef struct { char merchant_id[64]; long auth_count; long auth_amount; } au_weight_rec_t;

long audb_summary_weighted_ticket(const char *bizdate);

#endif /* AU_SUMMARY_WEIGHTAVG_DBIO_H */
