mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Modify JSON log writer to use the external JSON library
This commit is contained in:
parent
d27c846ec5
commit
9b76e8faf4
4 changed files with 95 additions and 96 deletions
|
@ -112,6 +112,17 @@ public:
|
|||
*/
|
||||
static string Render(double d);
|
||||
|
||||
/**
|
||||
* Convert a transport protocol into a string.
|
||||
*
|
||||
* This is a helper function that formatter implementations may use.
|
||||
*
|
||||
* @param proto The transport protocol.
|
||||
*
|
||||
* @return An ASCII representation of the protocol.
|
||||
*/
|
||||
static string Render(TransportProto proto);
|
||||
|
||||
/**
|
||||
* Convert a string into a TransportProto. The string must be one of
|
||||
* \c tcp, \c udp, \c icmp, or \c unknown.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue