/*
 * au_approverate_batch.h - copybook for au_approverate_batch (XA client).
 * 승인율 산출 구조체 + 헬퍼. Kept in dbio/ for -I resolution.
 */
#ifndef AU_APPROVERATE_BATCH_H
#define AU_APPROVERATE_BATCH_H

typedef struct {
    char biz_date[16];
    long approved;
    long total;
    long rate_bps;   /* approved/total (bps) */
} au_rate_ctx_t;

long aub_rate_bps(long approved, long total);

#endif /* AU_APPROVERATE_BATCH_H */
