1/*-
2 * See the file LICENSE for redistribution information.
3 *
4 * Copyright (c) 2001,2008 Oracle.  All rights reserved.
5 *
6 * $Id: fop.h,v 12.10 2008/04/02 17:09:25 sue Exp $
7 */
8
9#ifndef	_DB_FOP_H_
10#define	_DB_FOP_H_
11
12#if defined(__cplusplus)
13extern "C" {
14#endif
15
16#define	MAKE_INMEM(D) do {					\
17	F_SET((D), DB_AM_INMEM);				\
18	(void)__memp_set_flags((D)->mpf, DB_MPOOL_NOFILE, 1);	\
19} while (0)
20
21#define	CLR_INMEM(D) do {					\
22	F_CLR((D), DB_AM_INMEM);				\
23	(void)__memp_set_flags((D)->mpf, DB_MPOOL_NOFILE, 0);	\
24} while (0)
25
26#include "dbinc_auto/fileops_auto.h"
27#include "dbinc_auto/fileops_ext.h"
28
29#if defined(__cplusplus)
30}
31#endif
32#endif /* !_DB_FOP_H_ */
33