mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
iosource/threading/input/logging: Replace nulls with nullptr
This commit is contained in:
parent
4ee84b69f2
commit
cb01e098df
27 changed files with 154 additions and 156 deletions
|
@ -22,14 +22,14 @@ public:
|
|||
// Parameters are like in pcap_compile(). Returns true
|
||||
// for successful compilation, false otherwise.
|
||||
bool Compile(pcap_t* pcap, const char* filter, uint32_t netmask,
|
||||
char* errbuf = 0, unsigned int errbuf_len = 0,
|
||||
char* errbuf = nullptr, unsigned int errbuf_len = 0,
|
||||
bool optimize = true);
|
||||
|
||||
// Creates a BPF program when no pcap handle is around,
|
||||
// similarly to pcap_compile_nopcap(). Parameters are
|
||||
// similar. Returns true on success.
|
||||
bool Compile(int snaplen, int linktype, const char* filter,
|
||||
uint32_t netmask, char* errbuf = 0, unsigned int errbuf_len = 0,
|
||||
uint32_t netmask, char* errbuf = nullptr, unsigned int errbuf_len = 0,
|
||||
bool optimize = true);
|
||||
|
||||
// Returns true if this program currently contains compiled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue