]> WPIA git - cassiopeia.git/blobdiff - src/io/record.h
add: implement command chunking especially for FULL_CRL-commands
[cassiopeia.git] / src / io / record.h
index 0a1368117fc681099fe74b6cf8dca60a45da926d..d56708aa9a768f84d453200f6c390e670c25c078 100644 (file)
@@ -6,6 +6,7 @@
 #include <string>
 
 #include "bios.h"
+#include "io/opensslBIO.h"
 
 #define RECORD_HEADER_SIZE 17
 
@@ -104,6 +105,7 @@ public:
 
 };
 
-std::string parseCommand( RecordHeader& head, const std::string& input, std::shared_ptr<std::ostream> log );
+std::string parseCommand( RecordHeader& head, const std::string& input );
+std::string parseCommandChunked( RecordHeader& head, std::shared_ptr<OpensslBIOWrapper> conn);
 
-void sendCommand( RecordHeader& head, const std::string& data, std::shared_ptr<OpensslBIO> bio, std::shared_ptr<std::ostream> log );
+void sendCommand( RecordHeader& head, const std::string& data, std::shared_ptr<OpensslBIO> bio );