/*
 * au_preauth_query_dbio.h - au 모듈 DB 접근 계층 copybook (au_preauth_query_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.
 */
#ifndef AU_PREAUTH_QUERY_DBIO_H
#define AU_PREAUTH_QUERY_DBIO_H

typedef struct { long preauth_id; long amount; char status[8]; } au_preauth_q_rec_t;

int audb_preauth_detail(long preauth_id, long *amount_out, char *status_out /* >= 2 */);

#endif /* AU_PREAUTH_QUERY_DBIO_H */
