tlist.h
上传用户:blenddy
上传日期:2007-01-07
资源大小:6495k
文件大小:1k
- /*-------------------------------------------------------------------------
- *
- * tlist.h
- * prototypes for tlist.c.
- *
- *
- * Copyright (c) 1994, Regents of the University of California
- *
- * $Id: tlist.h,v 1.18 1999/05/25 22:43:13 momjian Exp $
- *
- *-------------------------------------------------------------------------
- */
- #ifndef TLIST_H
- #define TLIST_H
- #include "nodes/nodes.h"
- #include "nodes/parsenodes.h"
- #include "nodes/relation.h"
- extern TargetEntry *tlistentry_member(Var *var, List *targetlist);
- extern Expr *matching_tlist_var(Var *var, List *targetlist);
- extern void add_var_to_tlist(RelOptInfo *rel, Var *var);
- extern TargetEntry *create_tl_element(Var *var, int resdomno);
- extern List *get_actual_tlist(List *tlist);
- extern Resdom *tlist_member(Var *var, List *tlist);
- extern Resdom *tlist_resdom(List *tlist, Resdom *resnode);
- extern TargetEntry *match_varid(Var *test_var, List *tlist);
- extern List *new_unsorted_tlist(List *targetlist);
- extern List *copy_vars(List *target, List *source);
- extern List *flatten_tlist(List *tlist);
- extern List *flatten_tlist_vars(List *full_tlist,
- List *flat_tlist);
- #endif /* TLIST_H */