LeviLamina
Loading...
Searching...
No Matches
DnsCache.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
namespace
rtc {
class
IPAddress; }
8
namespace
webrtc {
class
flat_map; }
9
// clang-format on
10
11
namespace
NetherNet {
12
13
class
DnsCache
{
14
public
:
15
// member variables
16
// NOLINTBEGIN
17
::ll::UntypedStorage<8, 112>
mUnkaa518e;
18
// NOLINTEND
19
20
public
:
21
// prevent constructor by default
22
DnsCache
& operator=(
DnsCache
const
&);
23
DnsCache
(
DnsCache
const
&);
24
DnsCache
();
25
26
public
:
27
// member functions
28
// NOLINTBEGIN
29
MCNAPI
void
30
Add
(::std::string_view hostname,
31
int
family,
32
::std::vector<::rtc::IPAddress>
const
& result,
33
::std::chrono::steady_clock::time_point expiration);
34
35
MCNAPI
bool
TryGet
(::std::string_view hostname,
int
family, ::std::vector<::rtc::IPAddress>* outResult);
36
// NOLINTEND
37
};
38
39
}
// namespace NetherNet
NetherNet::DnsCache
Definition
DnsCache.h:13
NetherNet::DnsCache::TryGet
MCAPI bool TryGet(::std::string_view hostname, int family, ::std::vector<::rtc::IPAddress > *outResult)
NetherNet::DnsCache::Add
MCAPI void Add(::std::string_view hostname, int family, ::std::vector<::rtc::IPAddress > const &result, ::std::chrono::steady_clock::time_point expiration)
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
nether_net
DnsCache.h
Generated on Fri Jun 13 2025 05:04:25 for LeviLamina by
1.12.0