/*
 * py_schedule_dbio.h - py 모듈 DB 접근 계층 copybook (py_schedule_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_SCHEDULE_DBIO_H
#define PY_SCHEDULE_DBIO_H

typedef struct { char run_date[16]; long pending; } py_schedule_rec_t;

long pydb_schedule_pending_count(const char *rundate);
long pydb_schedule_next_id(void);

#endif /* PY_SCHEDULE_DBIO_H */
