/*
 * rc_alertwin_dbio.h - rc 모듈 DB 접근 계층 copybook (rc_alertwin_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_ALERTWIN_DBIO
#define RC_ALERTWIN_DBIO

typedef struct { long alert_id; long rn; char lvl[16]; } rc_alertwin_rec_t;

long rcdb_recent_warn_count(const char *bizdate, long topn);

#endif /* RC_ALERTWIN_DBIO */
