]> WPIA git - cassiopeia.git/blobdiff - src/io/opensslBIO.h
fmt: run format script excluding lambdas
[cassiopeia.git] / src / io / opensslBIO.h
index 994b7bcafb383e0e11a6c5c277f50d73c69b4ca8..46e3642bfc6feaba0ef3eb0e952cc5f474d1f6ca 100644 (file)
@@ -14,17 +14,17 @@ public:
     OpensslBIOWrapper( std::shared_ptr<BIO> b );
     virtual ~OpensslBIOWrapper();
 
-    int write( const charbuf, int num );
-    int read( charbuf, int size );
-    long ctrl( int cmod, long arg1, voidarg2 );
+    int write( const char *buf, int num );
+    int read( char *buf, int size );
+    long ctrl( int cmod, long arg1, void *arg2 );
 
-    int puts( const charstr );
-    int gets( charstr, int size );
+    int puts( const char *str );
+    int gets( char *str, int size );
 
-    static const chargetName();
+    static const char *getName();
 
     std::string readLine();
 };
 
-class eof_exception : public std::exception{
+class eof_exception : public std::exception {
 };