/* ----------------------------------------------------------------
 *   FILE
 *	joinutils.h
 *
 *   DESCRIPTION
 *	prototypes for joinutils.c.
 *
 *   NOTES
 *	Automatically generated using mkproto
 *
 *   IDENTIFICATION
 *	/usr/local/devel/postgres-v4r2/src/backend/planner/RCS/joinutils.h,v 1.6 1993/11/03 04:12:05 aoki Exp
 * ----------------------------------------------------------------
 */

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

extern LispValue match_pathkeys_joinkeys ARGS((LispValue pathkeys, LispValue joinkeys, LispValue joinclauses, int which_subkey));
extern int match_pathkey_joinkeys ARGS((LispValue pathkey, LispValue joinkeys, int which_subkey));
extern bool every_func ARGS((LispValue joinkeys, LispValue pathkey, int which_subkey));
extern Path match_paths_joinkeys ARGS((LispValue joinkeys, LispValue ordering, LispValue paths, int which_subkey));
extern LispValue extract_path_keys ARGS((LispValue joinkeys, LispValue tlist, int which_subkey));
extern LispValue new_join_pathkeys ARGS((LispValue outer_pathkeys, LispValue join_rel_tlist, LispValue joinclauses));
extern LispValue new_join_pathkey ARGS((LispValue subkeys, LispValue considered_subkeys, LispValue join_rel_tlist, LispValue joinclauses));
extern LispValue new_matching_subkeys ARGS((Var subkey, LispValue considered_subkeys, LispValue join_rel_tlist, LispValue joinclauses));

#endif /* joinutilsIncluded */
