X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fexternal%2Fread.h;h=a3bcb80b1b1b69bb874a6262545bddde4b11a6a7;hb=980ece9761aeebcece34fb378ef9e6d9fc133893;hp=fe1492b353376b3ce221a9abc98f321c29fa6b3d;hpb=e6c2ee205ade54c9979359a0be3fb7cf8d11c601;p=libfirm diff --git a/ir/external/read.h b/ir/external/read.h index fe1492b35..a3bcb80b1 100644 --- a/ir/external/read.h +++ b/ir/external/read.h @@ -1,32 +1,52 @@ -/* -*- c -*- */ /* - * Project: libFIRM - * File name: ir/external/read.h - * Purpose: Read descriptions of external effects - * Author: Florian - * Modified by: Boris Boesler - * Created: 11.10.2004 - * CVS-ID: $Id$ - * Copyright: (c) 1999-2004 Universität Karlsruhe - * Licence: This file is protected by GPL - GNU GENERAL PUBLIC LICENSE. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. + * + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. */ -#ifndef _READ_H_ -#define _READ_H_ +/** + * @file + * @brief Read descriptions of external effects + * @author Florian, Boris Boesler + * @date 11.10.2004 + * @version $Id$ + */ +#ifndef FIRM_EXTERNAL_READ_H +#define FIRM_EXTERNAL_READ_H /* The public interface */ -/** read the file and build the graphs */ -void create_abstraction(const char *filename); +/** + * read the file and build the graphs + * + * @return 0 on I/O error, non-zero else + */ +int create_abstraction(const char *filename); void free_abstraction(void); - -#endif /* defined _READ_H_ */ +#endif /* $Log$ + Revision 1.9 2005/08/16 10:18:35 beck + create_abstraction() now returns an error code if the file could not + be opened. + Revision 1.8 2004/11/11 09:28:32 goetz treat pseudo irgs special parse 'local' from xml files