2007-06-11 13:01:04 +01:00
|
|
|
/*
|
|
|
|
* Scyther : An automatic verifier for security protocols.
|
|
|
|
* Copyright (C) 2007 Cas Cremers
|
|
|
|
*
|
|
|
|
* 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);
|
|
|
|
int checkTypeTermlist (Termlist tl);
|
2005-06-02 13:14:28 +01:00
|
|
|
int checkTypeLocals (const System sys);
|
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-17 15:54:17 +01:00
|
|
|
int isOpenVariable(const Term tvar);
|
2005-06-02 13:14:28 +01:00
|
|
|
|
|
|
|
#endif
|