/*
 * ac_fx_query_dbio.h - ac 모듈 DB 접근 계층 copybook (ac_fx_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_FX_QUERY_DBIO_H
#define AC_FX_QUERY_DBIO_H

typedef struct { long fx_id; char ccy[8]; long fx_amount; long krw_amount; long rate_bps; } ac_fx_q_rec_t;

long acdb_fx_krw_total(const char *bizdate);
long acdb_fx_wavg_rate(const char *bizdate);

#endif /* AC_FX_QUERY_DBIO_H */
