/*
 * ac_fx_weightavg_dbio.h - ac 모듈 DB 접근 계층 copybook (ac_fx_weightavg_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.
 * Shape: KRW 가중 평균 환율(bps).
 */
#ifndef AC_FX_WEIGHTAVG_DBIO_H
#define AC_FX_WEIGHTAVG_DBIO_H

typedef struct { long weighted_num; long weight; long avg_bps; } ac_fx_weight_rec_t;

long acdb_fx_weighted_rate(const char *bizdate);

#endif /* AC_FX_WEIGHTAVG_DBIO_H */
