/*
 * py_adjust_dbio.h - py 모듈 DB 접근 계층 copybook (py_adjust_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_ADJUST_DBIO_H
#define PY_ADJUST_DBIO_H

typedef struct { long payout_id; char biz_date[16]; long delta_sum; long cnt; } py_adjust_rec_t;

long pydb_adjust_delta_sum(long payout_id);
long pydb_adjust_count(const char *bizdate);

#endif /* PY_ADJUST_DBIO_H */
