mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
scripts/spicy: Reformat with spicy-format
This commit is contained in:
parent
01ea74f8a8
commit
cde5662779
2 changed files with 9 additions and 6 deletions
|
@ -507,4 +507,3 @@ public function vector_size(id: string): uint64 &cxxname="zeek::spicy::rt::vecto
|
||||||
##
|
##
|
||||||
## v: opaque handle to the Zeek vector, as returned by other functions
|
## v: opaque handle to the Zeek vector, as returned by other functions
|
||||||
public function vector_size(v: ZeekVector): uint64 &cxxname="zeek::spicy::rt::vector_size";
|
public function vector_size(v: ZeekVector): uint64 &cxxname="zeek::spicy::rt::vector_size";
|
||||||
|
|
||||||
|
|
|
@ -22,9 +22,13 @@ public type File = unit(mime_type: optional<string> = Null, size: optional<uint6
|
||||||
zeek::file_set_size(*size, self.fid);
|
zeek::file_set_size(*size, self.fid);
|
||||||
}
|
}
|
||||||
|
|
||||||
: bytes &chunked &eod { zeek::file_data_in($$, self.fid); }
|
: bytes &chunked &eod {
|
||||||
|
zeek::file_data_in($$, self.fid);
|
||||||
|
}
|
||||||
|
|
||||||
on %finally { zeek::file_end(self.fid); }
|
on %finally {
|
||||||
|
zeek::file_end(self.fid);
|
||||||
|
}
|
||||||
|
|
||||||
## Zeek-side file ID
|
## Zeek-side file ID
|
||||||
var fid: string;
|
var fid: string;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue