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

typedef struct { char biz_date[16]; long avg_diff; } rc_diffavg_rec_t;

long rcdb_diff_avg(const char *bizdate);

#endif /* RC_DIFFAVG_DBIO */
