scyther/src/label.h
ccremers 6dff931dbc - Term identifiers can now contain primes (SM)
- If labels start with a bang (!), they are ignored in synch/agree
  claims.
2006-04-25 13:58:14 +00:00

27 lines
448 B
C

#ifndef LABEL
#define LABEL
#include "term.h"
#include "list.h"
#include "system.h"
/*
* Structure to store label information
*/
struct labelinfo
{
Term label;
int ignore;
Protocol protocol;
Term sendrole;
Term readrole;
};
typedef struct labelinfo *Labelinfo;
Labelinfo label_create (const Term label, const Protocol protocol);
void label_destroy (Labelinfo linfo);
Labelinfo label_find (List labellist, const Term label);
#endif