/*
 * st_existsadj_dbio.h - st 모듈 DB 접근 계층 copybook (st_existsadj_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_EXISTSADJ_DBIO
#define ST_EXISTSADJ_DBIO

typedef struct { long purchase_id; int has_adj; } st_existsadj_rec_t;

int stdb_has_adjust(long pid);

#endif /* ST_EXISTSADJ_DBIO */
