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

typedef struct { char biz_date[16]; long payout_id; long reject_cnt; char reason[128]; } py_payout_reject_rec_t;

long pydb_payout_reject_count(const char *bizdate);
int  pydb_payout_reject_reason(long payout_id, char *out /* >= 128 bytes */);

#endif /* PY_PAYOUT_REJECT_DBIO_H */
