/*
 * au_fraud_purge_dbio.h - au 모듈 DB 접근 계층 copybook (au_fraud_purge_dbio, part of libaudbio.a).
 * ECPG functions; run on the caller's XA branch (no EXEC SQL CONNECT).
 * Return convention: >=0 ok, -1 = SQL error.
 * Shape: DELETE ... WHERE biz_date < 기준 AND score < 임계 (구간 삭제).
 */
#ifndef AU_FRAUD_PURGE_DBIO_H
#define AU_FRAUD_PURGE_DBIO_H

typedef struct { char cutoff[16]; long min_score; long deleted; } au_fraud_purge_rec_t;

long audb_fraud_purge_lowscore(const char *cutoff, long min_score);

#endif /* AU_FRAUD_PURGE_DBIO_H */
