2007-06-11 13:01:04 +01:00
|
|
|
/*
|
|
|
|
* Scyther : An automatic verifier for security protocols.
|
2012-04-24 12:56:51 +01:00
|
|
|
* Copyright (C) 2007-2012 Cas Cremers
|
2007-06-11 13:01:04 +01:00
|
|
|
*
|
|
|
|
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
|
|
|
|
2005-06-02 13:14:28 +01:00
|
|
|
#ifndef TYPE
|
|
|
|
#define TYPE
|
|
|
|
|
|
|
|
#include "term.h"
|
|
|
|
#include "system.h"
|
|
|
|
|
2007-05-18 13:06:29 +01:00
|
|
|
int checkTypeTerm (const Term t);
|
2005-10-08 21:03:31 +01:00
|
|
|
Termlist typelistConjunct (Termlist typelist1, Termlist Typelist2);
|
|
|
|
int checkAllSubstitutions (const System sys);
|
|
|
|
int isAgentType (Termlist typelist);
|
2006-01-02 20:18:47 +00:00
|
|
|
int goodAgentType (Term agent);
|
2007-09-18 14:27:41 +01:00
|
|
|
int isOpenVariable (const Term tvar);
|
2005-06-02 13:14:28 +01:00
|
|
|
|
|
|
|
#endif
|