scyther/src/label.h

27 lines
448 B
C
Raw Normal View History

#ifndef LABEL
#define LABEL
#include "term.h"
#include "list.h"
#include "system.h"
/*
* Structure to store label information
*/
struct labelinfo
{
2004-11-16 12:07:55 +00:00
Term label;
int ignore;
2004-11-16 12:07:55 +00:00
Protocol protocol;
Term sendrole;
Term readrole;
};
2004-11-16 12:07:55 +00:00
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