/*-------------------------------------------------------------------------
 *
 * restrictinfo.h
 *	  prototypes for restrictinfo.c.
 *
 *
 * Copyright (c) 1994, Regents of the University of California
 *
 * $Id: restrictinfo.h,v 1.5 1999/07/15 15:21:23 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
#ifndef RESTRICTINFO_H
#define RESTRICTINFO_H

#include "nodes/relation.h"

extern bool valid_or_clause(RestrictInfo *restrictinfo);
extern List *get_actual_clauses(List *restrictinfo_list);
extern void get_relattvals(List *restrictinfo_list, List **attnos,
			   List **values, List **flags);
extern void get_joinvars(Oid relid, List *restrictinfo_list,
			 List **attnos, List **values, List **flags);
extern List *get_opnos(List *restrictinfo_list);

#endif	 /* RESTRICTINFO_H */
