/*
 * py_file_dbio.h - py 모듈 DB 접근 계층 copybook (py_file_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_FILE_DBIO_H
#define PY_FILE_DBIO_H

typedef struct { long file_id; long total_amount; char status[8]; } py_file_rec_t;

long pydb_file_total(long file_id);
int  pydb_file_status(long file_id, char *out /* >= 2 bytes */);

#endif /* PY_FILE_DBIO_H */
