Files
2017-09-04 13:40:25 -05:00

33 lines
669 B
C

/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2001,2008 Oracle. All rights reserved.
*
* $Id: fop.h 63573 2008-05-23 21:43:21Z trent.nelson $
*/
#ifndef _DB_FOP_H_
#define _DB_FOP_H_
#if defined(__cplusplus)
extern "C" {
#endif
#define MAKE_INMEM(D) do { \
F_SET((D), DB_AM_INMEM); \
(void)__memp_set_flags((D)->mpf, DB_MPOOL_NOFILE, 1); \
} while (0)
#define CLR_INMEM(D) do { \
F_CLR((D), DB_AM_INMEM); \
(void)__memp_set_flags((D)->mpf, DB_MPOOL_NOFILE, 0); \
} while (0)
#include "dbinc_auto/fileops_auto.h"
#include "dbinc_auto/fileops_ext.h"
#if defined(__cplusplus)
}
#endif
#endif /* !_DB_FOP_H_ */