ref: 5a7732335f618f8cc7e96e28941bee126f6d0032
dir: /dat.h/
typedef struct Tuple Tuple;
typedef struct Block Block;
typedef struct Sys Sys;
typedef struct Ipnet Ipnet;
typedef struct Pos Pos;
typedef struct Conn Conn;
extern char *netdir;
extern char *systuples[];
extern int nsystuples;
extern int pagewidth;
extern int pageheight;
extern int showipnet;
struct Pos {
int x;
int y;
};
struct Tuple {
char *key;
char *value;
int ipnet; /* set by ipnet */
};
struct Block {
Tuple *tuples;
int ntuples;
Pos p;
int width;
int height;
};
struct Sys {
Block;
};
struct Ipnet {
Block;
};
struct Conn {
Sys *from;
Sys *to;
String *types;
};