/*
 * rc_matchsum_dbio.h - rc 모듈 DB 접근 계층 copybook (rc_matchsum_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_MATCHSUM_DBIO
#define RC_MATCHSUM_DBIO

typedef struct { char biz_date[16]; char status[16]; long amount; } rc_matchsum_rec_t;

long rcdb_match_amount_sum(const char *bizdate, const char *status);

#endif /* RC_MATCHSUM_DBIO */
