#include <dballe/db/db.h>
#include <dballe/msg/msgs.h>
Go to the source code of this file.
Defines | |
| #define | DBA_IMPORT_ATTRS 1 |
| #define | DBA_IMPORT_FULL_PSEUDOANA 2 |
| #define | DBA_IMPORT_DATETIME_ATTRS 4 |
| #define | DBA_IMPORT_OVERWRITE 8 |
| #define | DBA_IMPORT_NO_TRANSACTIONS 16 |
Functions | |
| dba_err | dba_import_msg (dba_db db, dba_msg msg, int repcod, int flags) |
| Import a dba_msg message into the Dballe database. | |
| dba_err | dba_import_msgs (dba_db db, dba_msgs msgs, int repcod, int flags) |
| Import dba_msgs messages into the Dballe database. | |
Import a dba_msg message into the Dballe database.
| db | The DBALLE database to write the data into | |
| msg | The dba_msg containing the data to import | |
| repcod | Report code to which imported data belong. If -1 is passed, then it will be chosen automatically based on the message type. | |
| flags | Customise different aspects of the import process. It is a bitmask of the various DBA_IMPORT_* macros. |
Import dba_msgs messages into the Dballe database.
| db | The DBALLE database to write the data into | |
| msgs | The dba_msgs containing the data to import | |
| repcod | Report code to which imported data belong. If -1 is passed, then it will be chosen automatically based on the message type. | |
| flags | Customise different aspects of the import process. It is a bitmask of the various DBA_IMPORT_* macros. |
1.5.2