1 /*------------------------------------------------------------\
2 |                                                             |
3 | This file is part of the Alliance CAD System Copyright      |
4 | (C) Laboratoire LIP6 - D�partement ASIM Universite P&M Curie|
5 |                                                             |
6 | Home page      : http://www-asim.lip6.fr/alliance/          |
7 | E-mail         : mailto:alliance-users@asim.lip6.fr       |
8 |                                                             |
9 | This progam is  free software; you can redistribute it      |
10 | and/or modify it under the  terms of the GNU General Public |
11 | License as  published by the Free Software Foundation;      |
12 | either version 2 of the License, or (at your option) any    |
13 | later version.                                              |
14 |                                                             |
15 | Alliance VLSI  CAD System  is distributed  in the hope that |
16 | it  will be useful, but WITHOUT  ANY WARRANTY;              |
17 | without even the  implied warranty of MERCHANTABILITY or    |
18 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General       |
19 | Public License for more details.                            |
20 |                                                             |
21 | You should have received a copy  of the GNU General Public  |
22 | License along with the GNU C Library; see the file COPYING. |
23 | If not, write to the Free Software Foundation, Inc.,        |
24 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                     |
25 |                                                             |
26 \------------------------------------------------------------*/
27 
28 #define ZNCMAXREC 5
29 
30 typedef struct sznc
31 {
32   struct sznc	*NEXT;	/* seulement pour l'allocation par tas */
33   long		 x1;
34   long		 y1;
35   long		 x2;
36   long		 y2;
37   long		 layer;
38   chain_list	*Win;
39   chain_list	*rec;
40   long		 node;
41 } znc;
42 
43 typedef struct sWinZnc
44 {
45   long		  mx,my,MX,MY;
46   long		  PX,PY,nx,ny;
47   chain_list	**ChZnc;
48 }
49 WinZnc;
50 
51 long addznc __P((long,long,long,long,long,WinZnc*));
52 WinZnc* creatwinznc __P((long,long,long,long,long,long,long,long));	/* long mx,my,MX,MY,PX,PY,nx,ny */
53 void freewinznc __P((WinZnc*));	/* WinZnc* */
54 chain_list* getwininterznc __P((znc*, WinZnc*,short));
55 void makezncnode __P((WinZnc*, losig_list*));
56 void linklonodelocon __P((chain_list*, losig_list*, WinZnc*, GrgWindow* ));	/* chain_list*, lorcnet_list*, WinZnc* */
57