Functions | |
| int | RDB_open_env (const char *path, RDB_environment **envpp) |
| int | RDB_close_env (RDB_environment *envp) |
| int RDB_close_env | ( | RDB_environment * | envp | ) |
RDB_close_env closes the database environment specified by envp.
| envp | the pointer to the environment. |
| int RDB_open_env | ( | const char * | path, | |
| RDB_environment ** | envpp | |||
| ) |
RDB_open_env opens a database environment identified by the system resource path.
In the current implementation, the path passed to RDB_open_env is a Berkeley DB database environment directory. To create a new empty environment, simply pass an empty directory to RDB_open_env.
| path | pathname of the direcory where the data is stored. | |
| envpp | location where the pointer to the environment is stored. |
1.5.1