2004-04-23 11:58:43 +01:00
|
|
|
#ifndef TRACEBUF
|
|
|
|
#define TRACEBUF
|
|
|
|
|
2004-07-24 20:07:29 +01:00
|
|
|
#include "term.h"
|
|
|
|
#include "termlist.h"
|
2004-04-23 11:58:43 +01:00
|
|
|
#include "knowledge.h"
|
2004-07-24 16:08:35 +01:00
|
|
|
#include "system.h"
|
2004-04-23 11:58:43 +01:00
|
|
|
|
|
|
|
/* STATUS symbols */
|
2004-08-09 11:05:58 +01:00
|
|
|
enum statussymbols
|
|
|
|
{
|
|
|
|
S_UNK, // UNKnown : unprocessed.
|
|
|
|
S_OKE, // OKE : done, but required for the attack.
|
|
|
|
S_RED, // REDundant : is not needed for attack, we're sure.
|
|
|
|
S_TOD // TODo : The previous suggestion REQ was too similar to RED. This is reserved for reads.
|
2004-07-29 12:26:59 +01:00
|
|
|
};
|
2004-04-23 11:58:43 +01:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
2004-07-24 16:08:35 +01:00
|
|
|
* tracebuf struct is defined in system.h to avoid loops.
|
2004-04-23 11:58:43 +01:00
|
|
|
*/
|
|
|
|
|
2004-08-09 11:05:58 +01:00
|
|
|
int tracebufRebuildKnow (struct tracebuf *tb);
|
|
|
|
struct tracebuf *tracebufInit (void);
|
2004-04-23 11:58:43 +01:00
|
|
|
void tracebufDone (struct tracebuf *tb);
|
2004-08-09 11:05:58 +01:00
|
|
|
struct tracebuf *tracebufSet (const System sys, int length, int claimev);
|
2004-04-23 11:58:43 +01:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|