/*
 * ac_cancel_casebucket_dbio.h - ac 모듈 DB 접근 계층 copybook (ac_cancel_casebucket_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.
 * Shape: CASE 금액 구간 버킷 분류.
 */
#ifndef AC_CANCEL_CASEBUCKET_DBIO_H
#define AC_CANCEL_CASEBUCKET_DBIO_H

typedef struct { long small; long mid; long large; } ac_cancel_bucket_rec_t;

int acdb_cancel_buckets(const char *bizdate, ac_cancel_bucket_rec_t *out);

#endif /* AC_CANCEL_CASEBUCKET_DBIO_H */
