mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Moving type declarations into its own bif file
This commit is contained in:
parent
f79ea244fa
commit
d95ac54579
6 changed files with 57 additions and 51 deletions
|
@ -261,6 +261,7 @@ RecordType* script_id;
|
|||
TableType* id_table;
|
||||
|
||||
#include "const.bif.netvar_def"
|
||||
#include "types.bif.netvar_def"
|
||||
#include "event.bif.netvar_def"
|
||||
|
||||
void init_event_handlers()
|
||||
|
@ -316,6 +317,7 @@ void init_general_global_var()
|
|||
void init_net_var()
|
||||
{
|
||||
#include "const.bif.netvar_init"
|
||||
#include "types.bif.netvar_init"
|
||||
|
||||
conn_id = internal_type("conn_id")->AsRecordType();
|
||||
endpoint = internal_type("endpoint")->AsRecordType();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue