libdballe 4.0.18
|
I/O functions to dba_file using dba_msgs structures. More...
Go to the source code of this file.
Functions | |
dba_err | dba_file_read_msgs (dba_file file, dba_msgs *msgs, int *found) |
Read and parse a message from the file. | |
dba_err | dba_file_write_msgs (dba_file file, dba_msgs msgs, int cat, int subcat, int localsubcat) |
Write a message to the file. |
I/O functions to dba_file using dba_msgs structures.
Read and parse a message from the file.
file | dba_file to read from |
msgs | The resulting dba_msgs |
found | Will be set to true if a message has been found in the file, else to false. |
References DBA_RUN_OR_GOTO, and DBA_RUN_OR_RETURN.
Write a message to the file.
file | dba_file to write to |
msgs | The dba_msgs to encode and write. |
cat | The BUFR of CREX message category to use for encoding (0 for auto detect) |
subcat | The BUFR of CREX message subcategory to use for encoding (0 for auto detect) |
localsubcat | The BUFR of CREX message subcategory (defined by local centres) to use for encoding (0 for auto detect) |
References dba_error_unimplemented, and DBA_RUN_OR_GOTO.