00001 /* 00002 %M This module contains the input/output definitions. 00003 %a Joao Luiz Elias Campos. 00004 %d September 2nd, 1998. 00005 %r $Id: rio.h,v 1.1 2004/06/22 05:29:59 joaoluiz Exp $ 00006 %w (C) COPYRIGHT 1995-1996, Eduardo Nobre Lages. 00007 (C) COPYRIGHT 1997-1998, Joao Luiz Elias Campos. 00008 All Rights Reserved 00009 Duplication of this program or any part thereof without the express 00010 written consent of the author is prohibited. 00011 * 00012 * Modified: 13-Sep-05 Alexandre A. Del Savio 00013 * Criada a funcao IoReset. 00014 * 00015 * Modified: 22-Fev-06 Juan Pablo Ibañez 00016 * Modificado o protótipo das funcões IoReadFile, IoOpenFiles, 00017 * IoStartSave, IoFindResultTag, IoWriteFile, 00018 * que pasam a retornar um valor int. 00019 */ 00020 00021 #ifndef _RIO_H 00022 #define _RIO_H 00023 00024 /* Handle to the input/output files 00025 */ 00026 extern FILE *nf; 00027 extern FILE *pos; 00028 extern FILE *ndlr; 00029 extern FILE *elmr; 00030 00031 /* Public functions 00032 */ 00033 int IoOpenFiles ( int, char *[] ); 00034 int IoReadFile ( void ); 00035 int IoWriteFile ( void ); 00036 void IoCloseFiles ( void ); 00037 int IoStartSave ( void ); 00038 void IoEndSave ( void ); 00039 int IoFindResultTag( int, long *, long * ); 00040 void IoCloseTempFile( void ); 00041 void IoReset ( void ); 00042 00043 #endif 00044