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-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;
|
2012-10-02 12:43:30 +01:00
|
|
|
extern Term TERM_CoOld;
|
|
|
|
extern Term TERM_CoNew;
|
|
|
|
extern Term TERM_DeEx;
|
|
|
|
extern Term TERM_DeNew;
|
|
|
|
|
2005-06-16 15:10:07 +01:00
|
|
|
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;
|
2011-01-04 14:18:22 +00:00
|
|
|
extern Term CLAIM_Alive;
|
|
|
|
extern Term CLAIM_Weakagree;
|
2005-06-16 15:10:07 +01:00
|
|
|
extern Term CLAIM_Nisynch;
|
|
|
|
extern Term CLAIM_Niagree;
|
|
|
|
extern Term CLAIM_Empty;
|
2005-12-28 11:50:17 +00:00
|
|
|
extern Term CLAIM_Reachable;
|
2011-01-04 14:17:52 +00:00
|
|
|
extern Term CLAIM_SID;
|
|
|
|
extern Term CLAIM_SKR;
|
2011-01-04 14:10:14 +00:00
|
|
|
extern Term CLAIM_Commit;
|
|
|
|
extern Term CLAIM_Running;
|
2012-11-21 12:40:15 +00:00
|
|
|
extern Term CLAIM_Notequal;
|
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;
|
2010-11-10 10:15:00 +00:00
|
|
|
extern Term TERM_PK;
|
|
|
|
extern Term TERM_SK;
|
|
|
|
extern Term TERM_K;
|
2007-05-18 13:06:29 +01:00
|
|
|
|
2012-11-21 10:28:40 +00:00
|
|
|
extern Term LABEL_Match;
|
|
|
|
|
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
|