zeek/src/bro.pac
Seth Hall eebd896f63 Change failure in utf16_bytestring_to_utf8_val to be a conn weird.
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.
2016-08-17 00:57:49 -04:00

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;