!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/doc/db-3.3.11/api_cxx/   drwxr-xr-x
Free 318.34 GB of 458.09 GB (69.49%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     dbenv_class.html (5.25 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Berkeley DB: DbEnv

DbEnv

APIRef

#include <db_cxx.h>

class DbEnv { public: DbEnv(u_int32 flags); ~DbEnv();

DB_ENV *DbEnv::get_DB_ENV(); const DB_ENV *DbEnv::get_const_DB_ENV() const; static DbEnv *DbEnv::get_DbEnv(DB_ENV *dbenv); static const DbEnv *DbEnv::get_const_DbEnv(const DB_ENV *dbenv); ... };

Description

This manual page describes the specific details of the DbEnv class, which is the center of the Berkeley DB environment.

The following flags value may be specified:

DB_CLIENT
Create a client environment to connect to a server.

The DB_CLIENT flag indicates to the system that this environment is remote on a server. The use of this flag causes the environment methods to use functions that call a server instead of local functions. Prior to making any environment or database method calls, the application must call the DbEnv::set_rpc_server method to establish the connection to the server.

DB_CXX_NO_EXCEPTIONS
The Berkeley DB C++ API supports two different error behaviors. By default, whenever an error occurs, an exception is thrown that encapsulates the error information. This generally allows for cleaner logic for transaction processing because a try block can surround a single transaction. However, if DB_CXX_NO_EXCEPTIONS is specified, exceptions are not thrown; instead, each individual function returns an error code.

Each DbEnv object has an associated DB_ENV struct, which is used by the underlying implementation of Berkeley DB and its C-language API. The DbEnv::get_DB_ENV method returns a pointer to this struct. Given a const DbEnv object, DbEnv::get_const_DB_ENV returns a const pointer to the same struct.

Given a DB_ENV struct, the DbEnv::get_DbEnv method returns the corresponding DbEnv object, if there is one. If the DB_ENV object was not associated with a DbEnv (that is, it was not returned from a call to DbEnv::get_DB_ENV), then the result of DbEnv::get_DbEnv is undefined. Given a const DB_ENV struct, DbEnv::get_const_Db_Env returns the associated const DbEnv object, if there is one.

These methods may be useful for Berkeley DB applications including both C and C++ language software. It should not be necessary to use these calls in a purely C++ application.

Class

DbEnv

See Also

DbEnv::close, DbEnv::err, DbEnv::errx DbEnv::open, DbEnv::remove, DbEnv::set_alloc, DbEnv::set_cachesize, DbEnv::set_data_dir, DbEnv::set_errcall, DbEnv::set_errfile, DbEnv::set_error_stream, DbEnv::set_errpfx, DbEnv::set_feedback, DbEnv::set_flags, DbEnv::set_mutexlocks, DbEnv::set_pageyield, DbEnv::set_paniccall, DbEnv::set_panicstate, DbEnv::set_recovery_init, DbEnv::set_rpc_server, DbEnv::set_region_init, DbEnv::set_shm_key, DbEnv::set_tas_spins, DbEnv::set_tmp_dir, DbEnv::set_verbose, DbEnv::strerror and DbEnv::version.

APIRef

Copyright Sleepycat Software


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.029 ]--