#include <openssl/evp.h>
#include "sql/basic_ostream.h"
#include "sql/rpl_log_encryption.h"
 
Go to the source code of this file.
 | 
| template<class ISTREAM , class OSTREAM >  | 
| bool  | stream_copy (ISTREAM *istream, OSTREAM *ostream, bool *ostream_error=nullptr) | 
|   | Copy data from an input stream to an output stream.  More...
  | 
|   | 
◆ stream_copy()
template<class ISTREAM , class OSTREAM > 
      
        
          | bool stream_copy  | 
          ( | 
          ISTREAM *  | 
          istream,  | 
        
        
           | 
           | 
          OSTREAM *  | 
          ostream,  | 
        
        
           | 
           | 
          bool *  | 
          ostream_error = nullptr  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Copy data from an input stream to an output stream. 
- Parameters
 - 
  
    | [in] | istream | the input stream where data will be copied from  | 
    | [out] | ostream | the output stream where data will be copied into  | 
    | [out] | ostream_error | It will be set to true if an error happens on ostream and the pointer is not null. It is valid only when the function returns true. | 
  
   
- Return values
 - 
  
    | false | Success  | 
    | true | Error happens in either the istream or ostream.  | 
  
   
 
 
◆ binlog_cache_is_reset
  
  
      
        
          | bool binlog_cache_is_reset | 
         
       
   | 
  
extern   |