#include <dballe/db/db.h>
#include <dballe/msg/msgs.h>
#include <dballe/core/record.h>
Go to the source code of this file.
Typedefs | |
| typedef dba_err(*) | dba_msg_consumer (dba_msgs msgs, void *data) |
| Callback function used to collect the messages produced by export functions. | |
Functions | |
| dba_err | dba_db_export (dba_db db, dba_record query, dba_msg_consumer cons, void *data) |
| Perform the query in `query', and return the results as a NULL-terminated array of dba_msg. | |
| dba_err dba_db_export | ( | dba_db | db, | |
| dba_record | query, | |||
| dba_msg_consumer | cons, | |||
| void * | data | |||
| ) |
Perform the query in `query', and return the results as a NULL-terminated array of dba_msg.
| db | The database to use for the query | |
| query | The query to perform | |
| cons | The dba_msg_consumer function that will handle the resulting messages | |
| data | Arbitrary extra value to be passed as-is to the dba_msg_consumer |
1.5.2