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-16 15:10:07 +01:00
|
|
|
#ifndef SPECIALTERM
|
|
|
|
#define SPECIALTERM
|
|
|
|
|
2005-12-28 14:25:06 +00:00
|
|
|
#include "term.h"
|
|
|
|
#include "termlist.h"
|
2007-01-06 14:45:29 +00:00
|
|
|
#include "system.h"
|
2005-12-28 14:25:06 +00:00
|
|
|
|
2005-06-16 15:10:07 +01:00
|
|
|
/*
|
|
|
|
* Some declarations in spercialterm.c
|
|
|
|
*/
|
|
|
|
|
|
|
|
extern Term TERM_Agent;
|
|
|
|
extern Term TERM_Function;
|
|
|
|
extern Term TERM_Hidden;
|
|
|
|
extern Term TERM_Type;
|
|
|
|
extern Term TERM_Nonce;
|
|
|
|
extern Term TERM_Ticket;
|
2005-11-12 21:13:00 +00:00
|
|
|
extern Term TERM_Data;
|
2005-06-16 15:10:07 +01:00
|
|
|
|
|
|
|
extern Term TERM_Claim;
|
|
|
|
extern Term CLAIM_Secret;
|
|
|
|
extern Term CLAIM_Nisynch;
|
|
|
|
extern Term CLAIM_Niagree;
|
|
|
|
extern Term CLAIM_Empty;
|
2005-12-28 11:50:17 +00:00
|
|
|
extern Term CLAIM_Reachable;
|
2005-06-16 15:10:07 +01:00
|
|
|
|
2007-05-18 13:06:29 +01:00
|
|
|
extern Term AGENT_Alice;
|
|
|
|
extern Term AGENT_Bob;
|
|
|
|
extern Term AGENT_Charlie;
|
|
|
|
extern Term AGENT_Dave;
|
|
|
|
extern Term AGENT_Eve;
|
|
|
|
|
2005-12-28 14:25:06 +00:00
|
|
|
extern Termlist CLAIMS_dep_prec;
|
|
|
|
|
2007-01-06 14:45:29 +00:00
|
|
|
void specialTermInit (const System sys);
|
2007-05-18 13:06:29 +01:00
|
|
|
void specialTermInitAfter (const System sys);
|
2006-01-17 16:18:26 +00:00
|
|
|
int isTicketTerm (Term t);
|
|
|
|
int hasTicketSubterm (Term t);
|
|
|
|
|
2005-06-16 15:10:07 +01:00
|
|
|
#endif
|