/*
 * au_capture_join_dbio.h - au 모듈 DB 접근 계층 copybook (au_capture_join_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: au_authorization JOIN au_cancel 집계.
 */
#ifndef AU_CAPTURE_JOIN_DBIO_H
#define AU_CAPTURE_JOIN_DBIO_H

typedef struct { long auth_id; long cancel_amount; } au_capture_join_rec_t;

long audb_cancelled_capture_amount(const char *bizdate);

#endif /* AU_CAPTURE_JOIN_DBIO_H */
