/*
 * py_payout_merch_dbio.h - py 모듈 DB 접근 계층 copybook (py_payout_merch_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_PAYOUT_MERCH_DBIO_H
#define PY_PAYOUT_MERCH_DBIO_H

typedef struct { char merchant_id[64]; long cnt; long gross; } py_payout_merch_rec_t;

long pydb_payout_merch_count(const char *merch);
long pydb_payout_merch_gross(const char *merch);

#endif /* PY_PAYOUT_MERCH_DBIO_H */
