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
|