/* ----------------------------------------------------------------
 *   FILE
 *	ex_ami.h
 *
 *   DESCRIPTION
 *	prototypes for ex_ami.c.
 *
 *   NOTES
 *	Automatically generated using mkproto
 *
 *   IDENTIFICATION
 *	/usr/local/devel/postgres-v4r2/src/backend/executor/RCS/x_execam.h,v 1.4 1994/02/07 11:37:06 aoki Exp
 * ----------------------------------------------------------------
 */

#ifndef ex_amiIncluded		/* include this file only once */
#define ex_amiIncluded	1

extern void ExecOpenScanR ARGS((ObjectId relOid, int nkeys, ScanKey skeys, bool isindex, ScanDirection dir, TimeQual timeRange, Relation *returnRelation, Pointer *returnScanDesc));
extern Relation ExecOpenR ARGS((ObjectId relationOid, bool isindex));
extern Pointer ExecBeginScan ARGS((Relation relation, int nkeys, ScanKey skeys, bool isindex, ScanDirection dir, TimeQual time_range));
extern void ExecCloseR ARGS((Plan node));
extern void ExecReScan ARGS((Plan node));
extern HeapScanDesc ExecReScanR ARGS((Relation relDesc, HeapScanDesc scanDesc, ScanDirection direction, int nkeys, ScanKey skeys));
extern List ExecMarkPos ARGS((Plan node));
extern void ExecRestrPos ARGS((Plan node));
extern Relation ExecCreatR ARGS((int numberAttributes, TupleDescriptor tupType, int relationOid));

#endif /* ex_amiIncluded */
