/*
 * py_ledger_type_dbio.h - py 모듈 DB 접근 계층 copybook (py_ledger_type_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_LEDGER_TYPE_DBIO_H
#define PY_LEDGER_TYPE_DBIO_H

typedef struct { char entry_type[16]; char biz_date[16]; long total; } py_ledger_type_rec_t;

long pydb_ledger_type_total(const char *entry_type, const char *bizdate);

#endif /* PY_LEDGER_TYPE_DBIO_H */
