LeviLamina
Loading...
Searching...
No Matches
SctpPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/StrongAlias.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace dcsctp { class Chunk; }
11namespace dcsctp { class VerificationTagTag; }
12namespace dcsctp { struct DcSctpOptions; }
13// clang-format on
14
15namespace dcsctp {
16
18public:
19 // SctpPacket inner types declare
20 // clang-format off
21 class Builder;
22 struct ChunkDescriptor;
23 // clang-format on
24
25 // SctpPacket inner types define
27 public:
28 // member variables
29 // NOLINTBEGIN
33 // NOLINTEND
34
35 public:
36 // prevent constructor by default
37 ChunkDescriptor& operator=(ChunkDescriptor const&);
40 };
41
42 class Builder {
43 public:
44 // member variables
45 // NOLINTBEGIN
51 // NOLINTEND
52
53 public:
54 // prevent constructor by default
55 Builder& operator=(Builder const&);
56 Builder(Builder const&);
57 Builder();
58
59 public:
60 // member functions
61 // NOLINTBEGIN
62 MCNAPI ::dcsctp::SctpPacket::Builder& Add(::dcsctp::Chunk const& chunk);
63
64 MCNAPI ::std::vector<uchar> Build(bool write_checksum);
65
66 MCNAPI Builder(
68 ::dcsctp::DcSctpOptions const& options
69 );
70
71 MCNAPI uint64 bytes_remaining() const;
72
73 MCNAPI ~Builder();
74 // NOLINTEND
75
76 public:
77 // constructor thunks
78 // NOLINTBEGIN
79 MCNAPI void* $ctor(
81 ::dcsctp::DcSctpOptions const& options
82 );
83 // NOLINTEND
84
85 public:
86 // destructor thunk
87 // NOLINTBEGIN
88 MCNAPI void $dtor();
89 // NOLINTEND
90 };
91
92public:
93 // member variables
94 // NOLINTBEGIN
98 // NOLINTEND
99
100public:
101 // prevent constructor by default
102 SctpPacket& operator=(SctpPacket const&);
103 SctpPacket(SctpPacket const&);
104 SctpPacket();
105
106public:
107 // member functions
108 // NOLINTBEGIN
109 MCNAPI ~SctpPacket();
110 // NOLINTEND
111
112public:
113 // static functions
114 // NOLINTBEGIN
115 MCNAPI static ::std::optional<::dcsctp::SctpPacket>
117 // NOLINTEND
118
119public:
120 // destructor thunk
121 // NOLINTBEGIN
122 MCNAPI void $dtor();
123 // NOLINTEND
124};
125
126} // namespace dcsctp
Definition Chunk.h:7
Definition SctpPacket.h:42
MCAPI uint64 bytes_remaining() const
MCAPI::dcsctp::SctpPacket::Builder & Add(::dcsctp::Chunk const &chunk)
MCAPI Builder(::webrtc::StrongAlias<::dcsctp::VerificationTagTag, uint > verification_tag, ::dcsctp::DcSctpOptions const &options)
MCAPI void * $ctor(::webrtc::StrongAlias<::dcsctp::VerificationTagTag, uint > verification_tag, ::dcsctp::DcSctpOptions const &options)
MCAPI ::std::vector< uchar > Build(bool write_checksum)
Definition SctpPacket.h:17
MCAPI void $dtor()
static MCAPI ::std::optional<::dcsctp::SctpPacket > Parse(::rtc::ArrayView< uchar const > data, ::dcsctp::DcSctpOptions const &options)
Definition _HeaderOutputPredefine.h:260
Definition StrongAlias.h:8
Definition DcSctpOptions.h:7
Definition SctpPacket.h:26
Definition Alias.h:14