"Fossies" - the Fresh Open Source Software archive

Member "leap-1.2.6.1/src/include/cond.h" of archive leap-1.2.6.1.tar.gz:


/* 
 * Name: cond.h
 * Description: Header file for condition evaluation routines
 * Version: cond.h,v 1.203.2.1 2004/02/09 20:05:20 rleyton Exp
 *
 *   LEAP RDBMS - An extensible and free RDBMS
 *   Copyright (C) 1995-2004 Richard Leyton
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program; if not, write to the Free Software
 *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 *   See the file COPYING for more information.
 *
 *   Richard Leyton
 *   leap@leyton.org
 *   http://leap.sourceforge.net
 *   http://www.leyton.org
 *
 */


#include "defines.h"

#ifndef _LEAP_CONDITION_
#define _LEAP_CONDITION_

#include "dtypes.h"

extern condp build_condition( char *qualification, tuple left_tuple, tuple right_tuple) ;
extern void print_condition( condp condition) ;
extern boolean evaluate( condp condition, tuple ltuple, tuple rtuple) ;
extern int destroy_condition( condp *condition ) ;
#endif