mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
Move Conn and related types to zeek namespace
This commit is contained in:
parent
0355d13099
commit
7fefdd97af
147 changed files with 328 additions and 313 deletions
10
src/Base64.h
10
src/Base64.h
|
@ -6,7 +6,7 @@
|
|||
namespace zeek { class String; }
|
||||
using BroString [[deprecated("Remove in v4.1. Use zeek::String instead.")]] = zeek::String;
|
||||
|
||||
class Connection;
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(Connection, zeek);
|
||||
|
||||
namespace zeek::detail {
|
||||
|
||||
|
@ -62,8 +62,8 @@ protected:
|
|||
|
||||
};
|
||||
|
||||
zeek::String* decode_base64(const zeek::String* s, const zeek::String* a = nullptr, Connection* conn = nullptr);
|
||||
zeek::String* encode_base64(const zeek::String* s, const zeek::String* a = nullptr, Connection* conn = nullptr);
|
||||
zeek::String* decode_base64(const zeek::String* s, const zeek::String* a = nullptr, zeek::Connection* conn = nullptr);
|
||||
zeek::String* encode_base64(const zeek::String* s, const zeek::String* a = nullptr, zeek::Connection* conn = nullptr);
|
||||
|
||||
} // namespace zeek::detail
|
||||
|
||||
|
@ -71,6 +71,6 @@ using Base64Converter [[deprecated("Remove in v4.1. Use zeek::detail::Base64Conv
|
|||
|
||||
// These can't be constexpr auto definitions due to the default parameters.
|
||||
[[deprecated("Remove in v4.1. Use zeek::detail::decode_base64.")]]
|
||||
zeek::String* decode_base64(const zeek::String* s, const zeek::String* a = nullptr, Connection* conn = nullptr);
|
||||
zeek::String* decode_base64(const zeek::String* s, const zeek::String* a = nullptr, zeek::Connection* conn = nullptr);
|
||||
[[deprecated("Remove in v4.1. Use zeek::detail::encode_base64.")]]
|
||||
zeek::String* encode_base64(const zeek::String* s, const zeek::String* a = nullptr, Connection* conn = nullptr);
|
||||
zeek::String* encode_base64(const zeek::String* s, const zeek::String* a = nullptr, zeek::Connection* conn = nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue