- Added role/protocol adding constructs for the intruder with Arachne.

This commit is contained in:
ccremers
2004-08-12 11:55:03 +00:00
parent 293c29b88e
commit 7df10cf568
3 changed files with 41 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ Term levelFind (Symbol s, int i);
Term symbolFind (Symbol s);
Term tacTerm (Tac tc);
Termlist tacTermlist (Tac tc);
Term levelDeclare (Symbol s, int isVar, int level);
void compute_role_variables (const System sys, Protocol p, Role r);
#define levelDeclareVar(s) levelTacDeclaration(s,1)
@@ -101,6 +102,12 @@ compilerInit (const System mysys)
langcons (CLAIM_Niagree, "Niagree", TERM_Claim);
}
//! Make a global constant
Term makeGlobalConstant (const char *s)
{
return levelDeclare (symbolSysConst(s), 0, 0);
}
//! Clean up afterwards
void
compilerDone (void)