OpensslBIOWrapper( std::shared_ptr<BIO> b );
virtual ~OpensslBIOWrapper();
- int write( const char* buf, int num );
- int read( char* buf, int size );
- long ctrl( int cmod, long arg1, void* arg2 );
+ int write( const char *buf, int num );
+ int read( char *buf, int size );
+ long ctrl( int cmod, long arg1, void *arg2 );
- int puts( const char* str );
- int gets( char* str, int size );
+ int puts( const char *str );
+ int gets( char *str, int size );
- static const char* getName();
+ static const char *getName();
std::string readLine();
};
-class EOFException : public std::exception{
+class eof_exception : public std::exception {
};