From ebc305b6a49d24f8bcf05ed10efac42c4398bd5b Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Fri, 7 Dec 2007 14:51:53 +0000 Subject: serialisation of buffer und connection param --- connectionParam.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'connectionParam.h') diff --git a/connectionParam.h b/connectionParam.h index 0129a03..c786db9 100644 --- a/connectionParam.h +++ b/connectionParam.h @@ -37,6 +37,12 @@ #include "authAlgo.h" #include "seqWindow.h" +namespace boost { + namespace serialization { + class access; + } +} + class ConnectionParam { public: @@ -45,6 +51,10 @@ public: SeqWindow& seq_; std::string remote_host_; u_int16_t remote_port_; +private: + friend class boost::serialization::access; + template + void serialize(Archive & ar, const unsigned int version); }; #endif -- cgit v1.2.3