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

typedef struct { long wht_id; long purchase_id; long tax_amount; long fee; } ac_wht_q_rec_t;

long acdb_wht_settled_sum(const char *bizdate);
long acdb_wht_effective_bps(const char *bizdate);

#endif /* AC_WHT_QUERY_DBIO_H */
