?¡ëPNG  IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À? ¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/user1137782/www/china1.by/classwithtostring.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
Berkeley DB: DB_ENV->set_encrypt
DB_ENV->set_encrypt API Ref

#include <db.h>

int DB_ENV->set_encrypt(DB_ENV *dbenv, const char *passwd, u_int32_t flags);

int DB_ENV->get_encrypt_flags(DB_ENV *dbenv, u_int32_t *flagsp);


Description: DB_ENV->set_encrypt

Set the password used by the Berkeley DB library to perform encryption and decryption.

The DB_ENV->set_encrypt method configures a database environment, not only operations performed using the specified DB_ENV handle.

The DB_ENV->set_encrypt method may not be called after the DB_ENV->open method is called. If the database environment already exists when DB_ENV->open is called, the information specified to DB_ENV->set_encrypt must be consistent with the existing environment or an error will be returned.

The DB_ENV->set_encrypt method returns a non-zero error value on failure and 0 on success.

Parameters
flags passwd

Errors

The DB_ENV->set_encrypt method may fail and return one of the following non-zero errors:


EINVAL

EOPNOTSUPP

Description: DB_ENV->get_encrypt_flags

The DB_ENV->get_encrypt_flags method returns the encryption flags.

The DB_ENV->get_encrypt_flags method may be called at any time during the life of the application.

The DB_ENV->get_encrypt_flags method returns a non-zero error value on failure and 0 on success.

Parameters
flagsp


Class DB_ENV
See Also Database Environments and Related Methods

APIRef

Copyright (c) 1996,2008 Oracle. All rights reserved.