writers.h

Go to the documentation of this file.
00001 /*
00002  * DB-ALLe - Archive for punctual meteorological data
00003  *
00004  * Copyright (C) 2005,2006  ARPA-SIM <urpsim@smr.arpa.emr.it>
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 2 of the License.
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  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
00018  *
00019  * Author: Enrico Zini <enrico@enricozini.com>
00020  */
00021 
00022 #ifndef DBA_FILE_WRITERS_H
00023 #define DBA_FILE_WRITERS_H
00024 
00025 #ifdef  __cplusplus
00026 extern "C" {
00027 #endif
00028 
00035 #include <dballe/core/rawfile.h>
00036 #include <dballe/msg/msg.h>
00037 
00038 
00047 dba_err dba_file_writer_create_bufr(dba_file_writer* writer, dba_rawfile file);
00048 
00064 dba_err dba_file_writer_set_bufr_template(dba_file_writer writer, int type, int subtype);
00065 
00074 dba_err dba_file_writer_create_crex(dba_file_writer* writer, dba_rawfile file);
00075 
00091 dba_err dba_file_writer_set_crex_template(dba_file_writer writer, int type, int subtype);
00092 
00101 dba_err dba_file_writer_create_aof(dba_file_writer* writer, dba_rawfile file);
00102 
00115 dba_err dba_file_writer_write(dba_file_writer writer, dba_msg msg);
00116 
00129 dba_err dba_file_writer_write_raw(dba_file_writer writer, dba_rawmsg msg);
00130 
00137 void dba_file_writer_delete(dba_file_writer writer);
00138 
00139 
00140 #ifdef  __cplusplus
00141 }
00142 #endif
00143 
00144 /* vim:set ts=4 sw=4: */
00145 #endif

Generated on Fri Jun 22 14:45:47 2007 for libdballe-msg by  doxygen 1.5.2