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