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

typedef struct { long pay_id; long rnk; long net; } st_payrank_rec_t;

long stdb_top_payment_sum(const char *bizdate, long topn);

#endif /* ST_PAYRANK_DBIO */
