added new licence header
[libfirm] / ir / external / read.h
1 /*
2  * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
3  *
4  * This file is part of libFirm.
5  *
6  * This file may be distributed and/or modified under the terms of the
7  * GNU General Public License version 2 as published by the Free Software
8  * Foundation and appearing in the file LICENSE.GPL included in the
9  * packaging of this file.
10  *
11  * Licensees holding valid libFirm Professional Edition licenses may use
12  * this file in accordance with the libFirm Commercial License.
13  * Agreement provided with the Software.
14  *
15  * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16  * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17  * PURPOSE.
18  */
19
20 /* -*- c -*- */
21 /*
22  * Project:     libFIRM
23  * File name:   ir/external/read.h
24  * Purpose:     Read descriptions of external effects
25  * Author:      Florian
26  * Modified by: Boris Boesler
27  * Created:     11.10.2004
28  * CVS-ID:      $Id$
29  * Copyright:   (c) 1999-2004 Universität Karlsruhe
30  */
31
32 #ifndef _READ_H_
33 #define _READ_H_
34
35 /*
36   The public interface
37 */
38 /**
39  * read the file and build the graphs
40  *
41  * @return 0 on I/O error, non-zero else
42  */
43 int create_abstraction(const char *filename);
44
45 void free_abstraction(void);
46
47
48 #endif /* defined _READ_H_ */
49
50 /*
51   $Log$
52   Revision 1.9  2005/08/16 10:18:35  beck
53   create_abstraction() now returns an error code if the file could not
54   be opened.
55
56   Revision 1.8  2004/11/11 09:28:32  goetz
57   treat pseudo irgs special
58   parse 'local' from xml files
59
60   Revision 1.7  2004/10/25 13:52:24  boesler
61   seperated read.h (public interface) and read_t.h (types)
62
63   Revision 1.6  2004/10/22 13:13:27  boesler
64   replaced char* by idents, minor fix in Firm codegen for call
65
66   Revision 1.5  2004/10/21 15:31:55  boesler
67   added lots of stuff:
68   - build abstract syntax trees
69   - build Firm graphs for many effects, still todos
70
71   Revision 1.1  2004/10/11 09:31:06  liekweg
72   First Import of XML reading procs --flo
73
74 */