Do not allocate one OpaqueType per OpaqueVal.

Instead, we now allocate type information globally in NetVar.cc.

Addresses #986.
This commit is contained in:
Matthias Vallentin 2013-05-03 15:48:06 -07:00
parent e78c20c0f8
commit 9ac00f8c79
6 changed files with 29 additions and 9 deletions

View file

@ -152,6 +152,12 @@ extern RecordType* OS_version;
extern EnumType* OS_version_inference;
extern TableVal* generate_OS_version_event;
class OpaqueType;
extern OpaqueType* md5_type;
extern OpaqueType* sha1_type;
extern OpaqueType* sha256_type;
extern OpaqueType* entropy_type;
extern double table_expire_interval;
extern double table_expire_delay;
extern int table_incremental_step;