/*
 * py_summary_dbio.h - py 모듈 DB 접근 계층 copybook (py_summary_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_SUMMARY_DBIO_H
#define PY_SUMMARY_DBIO_H

typedef struct { char biz_date[16]; long threshold; long merchants; } py_summary_rec_t;

long pydb_summary_active_merchants(const char *bizdate, long threshold);

#endif /* PY_SUMMARY_DBIO_H */
