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_sys.c header file for functions declarations
26  * Date    : 18/12/91
27  * Author  : Frederic Petrot <Frederic.Petrot@lip6.fr>
28  * Modified by Czo <Olivier.Sirol@lip6.fr> 1997,98
29  * $Id: mbk_sys.h,v 1.4 2012/05/14 14:20:23 alliance Exp $
30  */
31 
32 #ifndef _MBK_SYS_H_
33 #define _MBK_SYS_H_
34 
35 #ifndef __P
36 # if defined(__STDC__) ||  defined(__GNUC__)
37 #  define __P(x) x
38 # else
39 #  define __P(x) ()
40 # endif
41 #endif
42 
43   extern    char* mbkgetenv __P((const char *name));
44   extern    FILE* mbkfopen __P((const char *name, const char *extension, const char *mode));
45   extern    FILE *mbkfopentrace __P((const char *name, const char *extension, const char *mode));
46   extern    void  mbkfopen_infos __P((const FILE *in, const char *filename, const char *name, const char *extension, const char *mode, const char  filter));
47   extern    void* mbkalloc __P((size_t nbytes));
48   extern    void* mbkrealloc __P((void *pt, size_t nbytes));
49   extern    void  mbkfree __P((void *ptr));
50   void ps();
51   extern    void  mbkackchld __P((int));
52 
53 #endif
54 
55