moved external headers into include dir
[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 /**
21  * @file
22  * @brief     Read descriptions of external effects
23  * @author    Florian, Boris Boesler
24  * @date      11.10.2004
25  * @version   $Id$
26  */
27 #ifndef FIRM_EXTERNAL_READ_H
28 #define FIRM_EXTERNAL_READ_H
29
30 /*
31   The public interface
32 */
33 /**
34  * read the file and build the graphs
35  *
36  * @return 0 on I/O error, non-zero else
37  */
38 int create_abstraction(const char *filename);
39
40 void free_abstraction(void);
41
42 #endif
43
44 /*
45   $Log$
46   Revision 1.9  2005/08/16 10:18:35  beck
47   create_abstraction() now returns an error code if the file could not
48   be opened.
49
50   Revision 1.8  2004/11/11 09:28:32  goetz
51   treat pseudo irgs special
52   parse 'local' from xml files
53
54   Revision 1.7  2004/10/25 13:52:24  boesler
55   seperated read.h (public interface) and read_t.h (types)
56
57   Revision 1.6  2004/10/22 13:13:27  boesler
58   replaced char* by idents, minor fix in Firm codegen for call
59
60   Revision 1.5  2004/10/21 15:31:55  boesler
61   added lots of stuff:
62   - build abstract syntax trees
63   - build Firm graphs for many effects, still todos
64
65   Revision 1.1  2004/10/11 09:31:06  liekweg
66   First Import of XML reading procs --flo
67
68 */