| 1222 | } |
| 1223 | |
| 1224 | int bdb_queue_dump(bdb_state_type *bdb_state, FILE *out, int *bdberr) |
| 1225 | { |
| 1226 | int rc; |
| 1227 | |
| 1228 | BDB_READLOCK("bdb_queue_dump"); |
| 1229 | if (bdb_state->bdbtype == BDBTYPE_QUEUEDB) |
| 1230 | rc = bdb_queuedb_dump(bdb_state, out, bdberr); |
| 1231 | else |
| 1232 | rc = bdb_queue_dump_int(bdb_state, out, bdberr); |
| 1233 | BDB_RELLOCK(); |
| 1234 | |
| 1235 | return rc; |
| 1236 | } |
| 1237 | |
| 1238 | /* There's stuff in the queue that we don't have an active |
| 1239 | * consumer for. We will alarm on this as such items can lead |
no test coverage detected