/*
 * rc_existsexc_dbio.h - rc 모듈 DB 접근 계층 copybook (rc_existsexc_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_EXISTSEXC_DBIO
#define RC_EXISTSEXC_DBIO

typedef struct { long purchase_id; int has_exc; } rc_existsexc_rec_t;

int rcdb_has_open_exception(long pid);

#endif /* RC_EXISTSEXC_DBIO */
