2 * This file is part of the Alliance CAD System
3 * Copyright (C) Laboratoire LIP6 - Département ASIM
4 * Universite Pierre et Marie Curie
6 * Home page : http://www-asim.lip6.fr/alliance/
7 * E-mail support : mailto:alliance-support@asim.lip6.fr
9 * This library is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU Library General Public License as published
11 * by the Free Software Foundation; either version 2 of the License, or (at
12 * your option) any later version.
14 * Alliance VLSI CAD System is distributed in the hope that it will be
15 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17 * Public License for more details.
19 * You should have received a copy of the GNU General Public License along
20 * with the GNU C Library; see the file COPYING. If not, write to the Free
21 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 * Purpose : mbk_lo.c header file for functions declarations
27 * Author : Frederic Petrot <Frederic.Petrot@lip6.fr>
28 * Modified by Czo <Olivier.Sirol@lip6.fr> 1997,98
29 * $Id: mbk_lo.h,v 1.6 2005/04/27 07:36:27 fabrice Exp $
36 # if defined(__STDC__) || defined(__GNUC__)
43 extern locon_list
* addlocon
__P((lofig_list
*ptfig
, char *name
, losig_list
*ptsig
, char dir
));
44 extern void delalllofig
__P(());
45 extern lofig_list
* addlofig
__P((char *name
));
46 extern loins_list
* addloins
__P((lofig_list
*ptfig
, char *insname
, lofig_list
*ptnewfig
, chain_list
*sigchain
));
47 extern lofig_list
* addlomodel
__P((lofig_list
*model
, char *name
));
48 extern losig_list
* addlosig
__P((lofig_list
*ptfig
, long index
, chain_list
*namechain
, char type
));
49 extern losig_list
* AX_addlosig
__P((lofig_list
*ptfig
, long index
, chain_list
*namechain
, char type
));
50 extern lotrs_list
* addlotrs
__P((lofig_list
*ptfig
, char type
, long x
, long y
, long width
, long length
, long ps
, long pd
, long xs
, long xd
, losig_list
*ptgrid
, losig_list
*ptsource
, losig_list
*ptdrain
, losig_list
*ptbulk
, char *name
));
51 extern short addlotrsmodel
__P((lotrs_list
*lotrs
, char *model
));
52 extern char * getlotrsmodel
__P((lotrs_list
*lotrs
));
53 extern int dellocon
__P((lofig_list
*ptfig
, char *name
));
54 extern int dellofig
__P((char *name
));
55 extern int delloins
__P((lofig_list
*ptfig
, char *insname
));
56 extern int dellosig
__P((lofig_list
*ptfig
, long index
));
57 extern int dellotrs
__P((lofig_list
*ptfig
, lotrs_list
*pttrs
));
58 extern void freelomodel
__P((lofig_list
*ptmodel
));
59 extern locon_list
* getlocon
__P((lofig_list
*ptfig
, char *name
));
60 extern lofig_list
* getlofig
__P((char *figname
, char mode
));
61 extern loins_list
* getloins
__P((lofig_list
*ptfig
, char *name
));
62 extern lofig_list
* getlomodel
__P((lofig_list
*ptmodel
, char *name
));
63 extern losig_list
* getlosig
__P((lofig_list
*ptfig
, long index
));
64 extern lotrs_list
* getlotrs
__P((lofig_list
*ptfig
, char *name
));
65 extern void lofigchain
__P((lofig_list
*ptfig
));
66 extern void lofigchain_local
__P((lofig_list
*ptfig
));
67 extern void dellofigchain_local
__P((lofig_list
*ptfig
));
68 extern void viewlo
__P(());
69 extern void viewlofig
__P((lofig_list
*ptfig
));
70 extern void viewlofigcon
__P((locon_list
*ptcon
));
71 extern void viewloins
__P((loins_list
*ptins
));
72 extern void viewloinscon
__P((locon_list
*ptcon
));
73 extern void viewlosig
__P((losig_list
*ptsig
));
74 extern void viewlotrs
__P((lotrs_list
*pttrs
));
75 void mbk_copylosiginfo(losig_list
*source
, losig_list
*dest
);