mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00

Whenever we saw errors in UTF16->UTF8 conversion before, we would get a reporter message with no connection information. Now we get a weird attached to a connection so that debugging these problems will hopefully be a bit easier in the future.
11 lines
253 B
JavaScript
11 lines
253 B
JavaScript
%extern{
|
|
#include "binpac_bro.h"
|
|
%}
|
|
|
|
extern type BroAnalyzer;
|
|
extern type BroVal;
|
|
extern type BroPortVal;
|
|
extern type BroStringVal;
|
|
|
|
function network_time(): double;
|
|
function utf16_bytestring_to_utf8_val(conn: Connection, utf16: bytestring): StringVal;
|