mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Remove value serialization.
Note - this compiles, but you cannot run Bro anymore - it crashes immediately with a 0-pointer access. The reason behind it is that the required clone functionality does not work anymore.
This commit is contained in:
parent
9b49c7cbc6
commit
474efe9e69
78 changed files with 58 additions and 9185 deletions
|
@ -11,7 +11,6 @@
|
|||
#include "Dict.h"
|
||||
#include "Val.h"
|
||||
#include "Timer.h"
|
||||
#include "Serializer.h"
|
||||
#include "RuleMatcher.h"
|
||||
#include "IPAddr.h"
|
||||
#include "TunnelEncapsulation.h"
|
||||
|
@ -235,11 +234,6 @@ public:
|
|||
// Returns true if connection has been received externally.
|
||||
bool IsExternal() const { return conn_timer_mgr != 0; }
|
||||
|
||||
bool Serialize(SerialInfo* info) const;
|
||||
static Connection* Unserialize(UnserialInfo* info);
|
||||
|
||||
DECLARE_SERIAL(Connection);
|
||||
|
||||
// Statistics.
|
||||
|
||||
// Just a lower bound.
|
||||
|
@ -385,8 +379,6 @@ protected:
|
|||
|
||||
void Init(Connection* conn, timer_func timer, int do_expire);
|
||||
|
||||
DECLARE_SERIAL(ConnectionTimer);
|
||||
|
||||
Connection* conn;
|
||||
timer_func timer;
|
||||
int do_expire;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue