/*
 * au_auth_query_dbio.h - au 모듈 DB 접근 계층 copybook (au_auth_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_AUTH_QUERY_DBIO_H
#define AU_AUTH_QUERY_DBIO_H

typedef struct { long auth_id; long amount; char status[8]; } au_auth_q_rec_t;

long audb_auth_amount(long auth_id);
long audb_auth_card_count(const char *card);

#endif /* AU_AUTH_QUERY_DBIO_H */
