00001 /* 00002 * Author Antonio Bulgheroni, <mailto:antonio.bulgheroni@gmail.com> 00003 * Copyright 2009 Antonio Bulgheroni 00004 * 00005 * $Rev:: 30 $: Revision of the last commit 00006 * $Author:: drhilbert $: Author of the last commit 00007 * $Date:: 2009-09-05 17:13:55 +0200 (Sat, 05 Sep 2009) $: Date of the last commit 00008 * 00009 * This file is part of Mimotera++. 00010 * 00011 * Mimotera++ is free software: you can redistribute it and/or modify 00012 * it under the terms of the GNU Lesser General Public License as published by 00013 * the Free Software Foundation, either version 3 of the License, or 00014 * (at your option) any later version. 00015 * 00016 * Mimotera++ is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 * GNU Lesser General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU Lesser General Public License 00022 * along with Mimotera++. If not, see <http://www.gnu.org/licenses/>. 00023 */ 00024 00025 #include "mimotera++/MimoteraWriter.hh" 00026 00027 MimoteraWriter * MimoteraWriter_create( const char * filename, WritingMode_t mode ) { 00028 return MimoteraWriter_create_cpp( filename, mode ); 00029 } 00030 00031 void MimoteraWriter_dispose( MimoteraWriter * writer ) { 00032 MimoteraWriter_dispose_cpp( writer ); 00033 } 00034 00035 off_t MimoteraWriter_writeEvent( MimoteraWriter * writer, MimoteraEvent * event ) { 00036 return MimoteraWriter_writeEvent_cpp( writer, event ); 00037 } 00038 00039 void MimoteraWriter_close( MimoteraWriter * writer ) { 00040 MimoteraWriter_close( writer ); 00041 }