DB_MPOOLFILE->set_flags API Ref

#include <db.h>

int DB_MPOOLFILE->set_flags(DB_MPOOLFILE *mpf, u_int32_t flags, int onoff)

int DB_MPOOLFILE->get_flags(DB_MPOOLFILE *mpf, u_int32_t *flagsp);


Description: DB_MPOOLFILE->set_flags

Configure a file in the cache.

To set the flags for a particular database, call the DB_MPOOLFILE->set_flags method using the DB_MPOOLFILE handle stored in the mpf field of the DB handle.

The DB_MPOOLFILE->set_flags method returns a non-zero error value on failure and 0 on success.

Parameters
flags onoff

Description: DB_MPOOLFILE->get_flags

The DB_MPOOLFILE->get_flags method returns the flags.

The DB_MPOOLFILE->get_flags method may be called at any time during the life of the application.

The DB_MPOOLFILE->get_flags method returns a non-zero error value on failure and 0 on success.

Parameters
flagsp


Class DB_ENV, DB_MPOOLFILE
See Also Memory Pools and Related Methods

APIRef

Copyright (c) 1996,2008 Oracle. All rights reserved.