#include <db.h> int DB_ENV->get_encrypt_flags(DB_ENV *dbenv, u_int32_t *flagsp);
         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.