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

typedef struct { long install_id; long purchase_id; long months; long month_amount; } ac_install_q_rec_t;

long acdb_install_count(long pid);
long acdb_install_sum(long pid);

#endif /* AC_INSTALL_QUERY_DBIO_H */
