LeviLamina
Loading...
Searching...
No Matches
OpenSSLAesAdapter.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/nether_net/AesAdapter.h"
7#include "mc/deps/nether_net/utils/ErrorOr.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace rtc { class SocketAddress; }
12// clang-format on
13
14namespace NetherNet {
15
17public:
18 // member variables
19 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 OpenSSLAesAdapter& operator=(OpenSSLAesAdapter const&);
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 22
33 virtual ::NetherNet::ErrorOr<void, ::std::error_code> SetKey(uint64 id) /*override*/;
34
35 // vIndex: 5
36 virtual int Send(void const* pv, uint64 cb) /*override*/;
37
38 // vIndex: 6
39 virtual int SendTo(void const* pv, uint64 cb, ::rtc::SocketAddress const& addr) /*override*/;
40
41 // vIndex: 7
42 virtual int Recv(void* pv, uint64 cb, int64* timestamp) /*override*/;
43
44 // vIndex: 9
45 virtual int RecvFrom(void* pv, uint64 cb, ::rtc::SocketAddress* paddr, int64* timestamp) /*override*/;
46
47 // vIndex: 0
48 virtual ~OpenSSLAesAdapter() /*override*/ = default;
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCNAPI ::NetherNet::ErrorOr<void, ::std::error_code> $SetKey(uint64 id);
55
56 MCNAPI int $Send(void const* pv, uint64 cb);
57
58 MCNAPI int $SendTo(void const* pv, uint64 cb, ::rtc::SocketAddress const& addr);
59
60 MCNAPI int $Recv(void* pv, uint64 cb, int64* timestamp);
61
62 MCNAPI int $RecvFrom(void* pv, uint64 cb, ::rtc::SocketAddress* paddr, int64* timestamp);
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftableForHasSlots();
69
70 MCNAPI static void** $vftableForSocket();
71 // NOLINTEND
72};
73
74} // namespace NetherNet
Definition AesAdapter.h:11
Definition OpenSSLAesAdapter.h:16
MCAPI int $Send(void const *pv, uint64 cb)
static MCAPI void ** $vftableForHasSlots()
MCAPI int $SendTo(void const *pv, uint64 cb, ::rtc::SocketAddress const &addr)
MCAPI int $Recv(void *pv, uint64 cb, int64 *timestamp)
MCAPI int $RecvFrom(void *pv, uint64 cb, ::rtc::SocketAddress *paddr, int64 *timestamp)
MCAPI ::NetherNet::ErrorOr< void, ::std::error_code > $SetKey(uint64 id)
static MCAPI void ** $vftableForSocket()
Definition SocketAddress.h:12
Definition Alias.h:14