00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef DBALLE_BUFREX_H
00023 #define DBALLE_BUFREX_H
00024
00025 #ifdef __cplusplus
00026 extern "C" {
00027 #endif
00028
00034 #include <dballe/core/rawmsg.h>
00035 #include <dballe/msg/msgs.h>
00036 #include <dballe/bufrex/msg.h>
00037
00048 dba_err bufrex_decode_bufr(dba_rawmsg raw, dba_msgs* msgs);
00049
00060 dba_err bufrex_decode_crex(dba_rawmsg raw, dba_msgs* msgs);
00061
00076 dba_err bufrex_encode_bufr(dba_msgs msgs, int type, int subtype, dba_rawmsg* raw);
00077
00092 dba_err bufrex_encode_crex(dba_msgs msgs, int type, int subtype, dba_rawmsg* raw);
00093
00094
00105 dba_err bufrex_msg_from_dba_msg(bufrex_msg raw, dba_msg msg);
00106
00117 dba_err bufrex_msg_from_dba_msgs(bufrex_msg raw, dba_msgs msgs);
00118
00129 dba_err bufrex_msg_to_dba_msgs(bufrex_msg raw, dba_msgs* msgs);
00130
00131
00144 dba_err bufrex_infer_type_subtype(dba_msg msg, int* type, int* subtype);
00145
00146
00147 #ifdef __cplusplus
00148 }
00149 #endif
00150
00151
00152 #endif