Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
#include <sys/types.h>
#include <sys/uio.h>
#include <sys/mman.h>
#include <errno.h>
#include <limits.h>
#include <stdio.h>
#include <unistd.h>
#include "../include/db.h"
#include "recno.h"
Go to the source code of this file.
Functions | |
int | __rec_close (DB *dbp) |
int | __rec_sync (DB *dbp, u_int flags) const |
int __rec_close | ( | DB * | dbp | ) |
Definition at line 60 of file rec_close.c.
References __bt_close(), __rec_sync(), _btree::bt_mp, _btree::bt_msize, _btree::bt_pinned, _btree::bt_rfd, _btree::bt_rfp, _btree::bt_smap, dbp, F_ISSET, __db::internal, mpool_put(), NULL, R_CLOSEFP, R_INMEM, R_MEMMAPPED, RET_ERROR, RET_SUCCESS, and status.
Referenced by __rec_open().
int __rec_sync | ( | DB * | dbp, |
u_int | flags | ||
) | const |
Definition at line 107 of file rec_close.c.
References __bt_sync(), DBT::data, dbp, F_CLR, F_ISSET, __db::internal, MAX_REC_NUMBER, mpool_put(), NULL, R_EOF, R_FIRST, R_FIXLEN, R_INMEM, R_MODIFIED, R_NEXT, R_RDONLY, R_RECNOSYNC, RET_ERROR, RET_SUCCESS, DBT::size, and status.
Referenced by __rec_close(), and __rec_open().