mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Deprecate the internal int/uint types in favor of the cstdint types they were based on
This commit is contained in:
parent
18e4976c6c
commit
54752ef9a1
218 changed files with 1331 additions and 1323 deletions
|
@ -14,7 +14,7 @@ class File;
|
|||
class FileReassembler : public Reassembler {
|
||||
public:
|
||||
|
||||
FileReassembler(File* f, uint64 starting_offset);
|
||||
FileReassembler(File* f, uint64_t starting_offset);
|
||||
~FileReassembler() override;
|
||||
|
||||
void Done();
|
||||
|
@ -29,7 +29,7 @@ public:
|
|||
* appropriate.
|
||||
* @return the number of new bytes now detected as gaps in the file.
|
||||
*/
|
||||
uint64 Flush();
|
||||
uint64_t Flush();
|
||||
|
||||
/**
|
||||
* Discards all contents of the reassembly buffer up to a given sequence
|
||||
|
@ -38,7 +38,7 @@ public:
|
|||
* @param sequence the sequence number to flush until.
|
||||
* @return the number of new bytes now detected as gaps in the file.
|
||||
*/
|
||||
uint64 FlushTo(uint64 sequence);
|
||||
uint64_t FlushTo(uint64_t sequence);
|
||||
|
||||
/**
|
||||
* @return whether the reassembler is currently is the process of flushing
|
||||
|
@ -50,9 +50,9 @@ public:
|
|||
protected:
|
||||
FileReassembler();
|
||||
|
||||
void Undelivered(uint64 up_to_seq) override;
|
||||
void Undelivered(uint64_t up_to_seq) override;
|
||||
void BlockInserted(DataBlock* b) override;
|
||||
void Overlap(const u_char* b1, const u_char* b2, uint64 n) override;
|
||||
void Overlap(const u_char* b1, const u_char* b2, uint64_t n) override;
|
||||
|
||||
File* the_file;
|
||||
bool flushing;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue