FreeCalypso > hg > ueda-linux
annotate ueda/sverp-bind/struct.h @ 31:61272ee5aadc
unet-bind: implemented -a option for specifying wanted attributes
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 08 Aug 2015 21:44:10 +0000 |
parents | 65a515c20db8 |
children | ce887659d12e |
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; |
16
65a515c20db8
unet-bind: starpoint entry implemented
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
8
diff
changeset
|
20 struct outcomp *next; /* used only for starpoints */ |
8
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 |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 struct pinconn { |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 struct net *net; |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 char *nc_comment; |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 int input_lineno; |
640ba9db0e9d
ueda/sverp-bind/struct.h started
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 }; |
31
61272ee5aadc
unet-bind: implemented -a option for specifying wanted attributes
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
16
diff
changeset
|
28 |
61272ee5aadc
unet-bind: implemented -a option for specifying wanted attributes
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
16
diff
changeset
|
29 struct wantattr { |
61272ee5aadc
unet-bind: implemented -a option for specifying wanted attributes
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
16
diff
changeset
|
30 char *name; |
61272ee5aadc
unet-bind: implemented -a option for specifying wanted attributes
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
16
diff
changeset
|
31 struct wantattr *next; |
61272ee5aadc
unet-bind: implemented -a option for specifying wanted attributes
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
16
diff
changeset
|
32 }; |