|
|
@ -138,7 +138,9 @@ extern "C" { |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifdef _MSC_VER |
|
|
|
#ifdef _MSC_VER |
|
|
|
#define mode_t int |
|
|
|
typedef int mdb_mode_t; |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
typedef mode_t mdb_mode_t; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
/** @defgroup mdb MDB API
|
|
|
|
/** @defgroup mdb MDB API
|
|
|
@ -502,7 +504,7 @@ int mdb_env_create(MDB_env **env); |
|
|
|
* <li>EAGAIN - the environment was locked by another process. |
|
|
|
* <li>EAGAIN - the environment was locked by another process. |
|
|
|
* </ul> |
|
|
|
* </ul> |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
int mdb_env_open(MDB_env *env, const char *path, unsigned int flags, mode_t mode); |
|
|
|
int mdb_env_open(MDB_env *env, const char *path, unsigned int flags, mdb_mode_t mode); |
|
|
|
|
|
|
|
|
|
|
|
/** @brief Copy an MDB environment to the specified path.
|
|
|
|
/** @brief Copy an MDB environment to the specified path.
|
|
|
|
* |
|
|
|
* |
|
|
|