/*
 * au_fraud_intolog_dbio.h - au 모듈 DB 접근 계층 copybook (au_fraud_intolog_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: INSERT INTO au_fraud_log SELECT ... FROM au_authorization.
 */
#ifndef AU_FRAUD_INTOLOG_DBIO_H
#define AU_FRAUD_INTOLOG_DBIO_H

typedef struct { long flagged; long threshold; } au_autoflag_rec_t;

long audb_autoflag_high_amount(const char *bizdate, long threshold);

#endif /* AU_FRAUD_INTOLOG_DBIO_H */
