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

typedef struct { long adj_id; long purchase_id; long delta; char status[8]; } ac_feeadj_q_rec_t;

long acdb_feeadj_settled_delta(const char *bizdate);
long acdb_feeadj_max_abs(const char *bizdate);

#endif /* AC_FEEADJ_QUERY_DBIO_H */
