mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
binpac: Replace u_char usages with unsigned char
Improve Alpine (musl) support by not relying on the (technically) non-standard u_char typedef.
This commit is contained in:
parent
46e2490cb0
commit
1d750aa164
5 changed files with 15 additions and 15 deletions
|
@ -10,16 +10,16 @@ class ConnectionAnalyzer {
|
|||
public:
|
||||
virtual ~ConnectionAnalyzer() {}
|
||||
virtual void NewData(bool is_orig,
|
||||
const u_char *begin_of_data,
|
||||
const u_char *end_of_data) = 0;
|
||||
const unsigned char* begin_of_data,
|
||||
const unsigned char* end_of_data) = 0;
|
||||
};
|
||||
|
||||
// The interface for a flow analyzer
|
||||
class FlowAnalyzer {
|
||||
public:
|
||||
virtual ~FlowAnalyzer() {}
|
||||
virtual void NewData(const u_char *begin_of_data,
|
||||
const u_char *end_of_data) = 0;
|
||||
virtual void NewData(const unsigned char* begin_of_data,
|
||||
const unsigned char* end_of_data) = 0;
|
||||
};
|
||||
|
||||
} // namespace binpac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue