FreeCalypso > hg > ueda-linux
annotate ueda/sverp-bind/struct.h @ 13:1f3283f8e482
unet-bind: instance hash implemented
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 02 Aug 2015 00:00:15 +0000 |
parents | 640ba9db0e9d |
children | 65a515c20db8 |
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; |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 struct grid_pkg_desc *grid_pkg; |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 struct pinconn **conn_array; |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 }; |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 struct starpoint { |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 struct outcomp outcomp; |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 struct instance instance; |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 struct starpoint *next; |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 }; |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 struct pinconn { |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 struct net *net; |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 char *nc_comment; |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 int input_lineno; |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
32 }; |