/*
 * py_account_agg_dbio.h - py 모듈 DB 접근 계층 copybook (py_account_agg_dbio, part of libpydbio.a).
 * ECPG functions; run on the caller's XA branch (no EXEC SQL CONNECT).
 * Return convention: >=0 ok, -1 = SQL error.
 */
#ifndef PY_ACCOUNT_AGG_DBIO_H
#define PY_ACCOUNT_AGG_DBIO_H

typedef struct { long total_balance; long active_cnt; } py_account_agg_rec_t;

long pydb_account_active_balance(void);
long pydb_account_active_count(void);

#endif /* PY_ACCOUNT_AGG_DBIO_H */
