mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
The Great Embooleanating
A large number of functions had return values and/or arguments changed to use ``bool`` types instead of ``int``.
This commit is contained in:
parent
3c470ffe13
commit
fd5e15b116
145 changed files with 1288 additions and 1331 deletions
|
@ -31,9 +31,8 @@ namespace analyzer { namespace ncp {
|
|||
class NCP_Session {
|
||||
public:
|
||||
explicit NCP_Session(analyzer::Analyzer* analyzer);
|
||||
virtual ~NCP_Session() {}
|
||||
|
||||
virtual void Deliver(int is_orig, int len, const u_char* data);
|
||||
void Deliver(bool is_orig, int len, const u_char* data);
|
||||
|
||||
static bool any_ncp_event()
|
||||
{
|
||||
|
@ -115,4 +114,4 @@ protected:
|
|||
Contents_NCP_Analyzer * r_ncp;
|
||||
};
|
||||
|
||||
} } // namespace analyzer::*
|
||||
} } // namespace analyzer::*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue