00001 /*************************************************************************** 00002 * Copyright (C) 2010 by Matthias Ihrke * 00003 * ihrke@nld.ds.mpg.de 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License * 00016 * aint with this program; if not, write to the * 00017 * Free Software Foundation, Inc., * 00018 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00019 ***************************************************************************/ 00020 00065 #ifndef IO_EEGTOOLS_H 00066 # define IO_EEGTOOLS_H 00067 00068 #include <stdio.h> 00069 #include "array.h" 00070 00071 #ifdef __cplusplus 00072 extern "C" { 00073 #endif 00074 00075 00076 /* -------------- READER ---------------- */ 00077 Array* array_from_file( FILE *in ); 00078 00079 /* -------------- WRITER ---------------- */ 00080 void array_to_file( FILE *out, const Array *a ); 00081 00082 00083 #ifdef __cplusplus 00084 } 00085 #endif 00086 00087 #endif /* IO_EEGTOOLS_H */