annotate ueda/unet-bind/struct.h @ 101:ffab0a4424ad

ueda: unet-bind program moved into sensibly named unet-bind subdir
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 29 Sep 2019 22:42:41 +0000
parents ueda/sverp-bind/struct.h@ce887659d12e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
1 /*
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
2 * Data structures for the MCL binding step
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
3 */
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
4
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
5 struct instance {
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
6 char *name;
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
7 struct instance *nextinhash;
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
8 struct outcomp *outcomp;
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
9 char *slot;
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
10 int claimed;
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
11 };
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
12
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
13 struct outcomp {
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
14 char *name;
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
15 char *altname;
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
16 struct component *mclcomp;
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
17 int npins;
37
ce887659d12e unet-bind: implemented hier=flip:... hack for 2-pin components
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 31
diff changeset
18 int reverse_2pin;
8
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
19 struct grid_pkg_desc *grid_pkg;
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
20 struct pinconn **conn_array;
16
65a515c20db8 unet-bind: starpoint entry implemented
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 8
diff changeset
21 struct outcomp *next; /* used only for starpoints */
8
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
22 };
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
23
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
24 struct pinconn {
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
25 struct net *net;
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
26 char *nc_comment;
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
27 int input_lineno;
640ba9db0e9d ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
28 };
31
61272ee5aadc unet-bind: implemented -a option for specifying wanted attributes
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 16
diff changeset
29
61272ee5aadc unet-bind: implemented -a option for specifying wanted attributes
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 16
diff changeset
30 struct wantattr {
61272ee5aadc unet-bind: implemented -a option for specifying wanted attributes
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 16
diff changeset
31 char *name;
61272ee5aadc unet-bind: implemented -a option for specifying wanted attributes
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 16
diff changeset
32 struct wantattr *next;
61272ee5aadc unet-bind: implemented -a option for specifying wanted attributes
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 16
diff changeset
33 };