1999-12-09 17:26:08 +01:00
|
|
|
|
.\" Copyright (c) 1990, 1993
|
|
|
|
|
.\" The Regents of the University of California. All rights reserved.
|
|
|
|
|
.\"
|
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
|
.\" are met:
|
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
|
.\" This product includes software developed by the University of
|
|
|
|
|
.\" California, Berkeley and its contributors.
|
|
|
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
|
.\"
|
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
|
.\"
|
|
|
|
|
.\" @(#)mpool.3 8.1 (Berkeley) 6/4/93
|
1999-12-11 01:51:14 +01:00
|
|
|
|
.\" %Id: mpool.3,v 1.4 1997/02/22 14:57:51 peter Exp %
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.\"
|
|
|
|
|
.TH MPOOL 3 "June 4, 1993"
|
|
|
|
|
.UC 7
|
|
|
|
|
.SH ̾<EFBFBD><EFBFBD>
|
|
|
|
|
mpool \- <20><>ͭ<EFBFBD><CDAD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Хåե<C3A5><D5A5>ס<EFBFBD><D7A1><EFBFBD>
|
|
|
|
|
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.nf
|
|
|
|
|
.ft B
|
|
|
|
|
#include <db.h>
|
|
|
|
|
#include <mpool.h>
|
|
|
|
|
|
|
|
|
|
MPOOL *
|
|
|
|
|
mpool_open (DBT *key, int fd, pgno_t pagesize, pgno_t maxcache);
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
|
mpool_filter (MPOOL *mp, void (*pgin)(void *, pgno_t, void *),
|
|
|
|
|
.ti +5
|
|
|
|
|
void (*pgout)(void *, pgno_t, void *), void *pgcookie);
|
|
|
|
|
|
|
|
|
|
void *
|
|
|
|
|
mpool_new (MPOOL *mp, pgno_t *pgnoaddr);
|
|
|
|
|
|
|
|
|
|
void *
|
|
|
|
|
mpool_get (MPOOL *mp, pgno_t pgno, u_int flags);
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
mpool_put (MPOOL *mp, void *pgaddr, u_int flags);
|
|
|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