1 /*
2  * This file is part of the Alliance CAD System
3  * Copyright (C) Laboratoire LIP6 - D�partement ASIM
4  * Universite Pierre et Marie Curie
5  *
6  * Home page          : http://www-asim.lip6.fr/alliance/
7  * E-mail             : mailto:alliance-users@asim.lip6.fr
8  *
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.
13  *
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.
18  *
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22  */
23 
24 /*
25  * Purpose : mbk_lo_util.c header file for functions declarations
26  * Date    : 06/03/92
27  * Author  : Frederic Petrot <Frederic.Petrot@lip6.fr>
28  * Modified by Czo <Olivier.Sirol@lip6.fr> 1997,98
29  * Modified by pnt <Pierre.Nguyen-Tuong@lip6.fr> 2002
30  * $Id: mbk_lo_util.h,v 1.4 2012/05/14 14:20:23 alliance Exp $
31  */
32 
33 /* $Id: mbk_lo_util.h,v 1.4 2012/05/14 14:20:23 alliance Exp $ */
34 
35 #ifndef _MBK_LO_UTIL_H_
36 #define _MBK_LO_UTIL_H_
37 
38 #ifndef __P
39 # if defined(__STDC__) ||  defined(__GNUC__)
40 #  define __P(x) x
41 # else
42 #  define __P(x) ()
43 # endif
44 #endif
45 
46   extern           void  flattenlofig __P((lofig_list *ptfig, const char *insname, char concat));
47 lofig_list *givelofig();
48   extern    losig_list * givelosig __P((lofig_list *ptfig, long index));
49   extern           void  loadlofig __P((lofig_list *ptfig, const char *name, char mode));
50   extern           void  rflattenlofig __P((lofig_list *ptfig, char concat, char catal));
51   extern           void  savelofig __P((lofig_list *ptfig));
52   extern    lofig_list * unflattenlofig __P((lofig_list *ptfig, const char *figname, const char *insname, chain_list *list));
53   extern    losig_list * duplosiglst __P((losig_list *losig_ptr, ptype_list **BKSIG_ptr,int));
54   extern    losig_list * duplosig __P((losig_list *losig_ptr, ptype_list **BKSIG_ptr,int));
55   extern    chain_list * dupchainlst __P((chain_list *chain_ptr));
56   extern    locon_list * duploconlst __P((locon_list *locon_ptr));
57   extern    locon_list * duplocon __P((locon_list *locon_ptr));
58   extern    loins_list * duploinslst __P((loins_list *loins_ptr));
59   extern    loins_list * duploins __P((loins_list *loins_ptr));
60   extern    lotrs_list * duplotrslst __P((lotrs_list *lotrs_ptr));
61   extern    lotrs_list * duplotrs __P((lotrs_list *lotrs_ptr));
62   extern    lofig_list * duplofiglst __P((lofig_list *lofig_ptr));
63   extern    lofig_list * duplofig __P((lofig_list *lofig_ptr));
64   extern    lofig_list * rduplofig __P((lofig_list *lofig_ptr));
65 
66 /*************************** Analogical world ***************************************/
67 
68 extern locap_list *duplocaplst __P((locap_list *locap_ptr))    ;
69 extern locap_list *duplocap __P((locap_list *locap_ptr))       ;
70 extern lores_list *duploreslst __P((lores_list *lores_ptr))    ;
71 extern lores_list *duplores __P((lores_list *lores_ptr))       ;
72 extern loself_list *duploselflst __P((loself_list *loself_ptr)) ;
73 extern loself_list *duploself __P((loself_list *loself_ptr))    ;
74 
75 /************************************************************************************/
76 
77 #endif
78 
79