/*
 * rc_alertcnt_dbio.h - rc 모듈 DB 접근 계층 copybook (rc_alertcnt_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_ALERTCNT_DBIO
#define RC_ALERTCNT_DBIO

typedef struct { char biz_date[16]; char lvl[16]; long cnt; } rc_alertcnt_rec_t;

long rcdb_alert_level_count(const char *bizdate, const char *lvl);

#endif /* RC_ALERTCNT_DBIO */
