- Added preliminary labellist support to the system.

This commit is contained in:
ccremers
2004-08-27 11:52:43 +00:00
parent 275743c1a3
commit 542044e36f
6 changed files with 78 additions and 0 deletions

View File

@@ -20,6 +20,19 @@
static System sys;
static Tac tac_root;
/*
* Structure to store label information
*/
struct labelinfo
{
Term label;
Term protocol;
Term sendrole;
Term readrole;
};
typedef struct labelinfo Labelinfo;
/*
* Declaration from system.c
*/
@@ -898,6 +911,8 @@ compute_role_variables (const System sys, Protocol p, Role r)
* a mapping from all events to event/claim labels.
* A second table is used to compute the precedence order, and
* Warshall's algorithm is used to compute the transitive closure.
* Then, for each claim, the in the preceding labels occurring roles are stored,
* which is useful later.
*@returns For each claim in the claim list, a preceding label set is defined.
*/
void