From ff44013ce9c17f19368029dc3ec9e6d47661d9be Mon Sep 17 00:00:00 2001 From: Craig Edwards Date: Thu, 3 Oct 2024 17:03:56 +0000 Subject: [PATCH] add copyright headers, with attribution for libdave and leb128 where required --- src/dpp/dave/array_view.h | 24 +++++++++++++++ src/dpp/dave/cipher_interface.cpp | 24 +++++++++++++++ src/dpp/dave/cipher_interface.h | 26 +++++++++++++++- src/dpp/dave/clock.h | 24 +++++++++++++++ src/dpp/dave/codec_utils.cpp | 24 +++++++++++++++ src/dpp/dave/codec_utils.h | 24 +++++++++++++++ src/dpp/dave/common.h | 24 +++++++++++++++ src/dpp/dave/cryptor_manager.cpp | 24 +++++++++++++++ src/dpp/dave/cryptor_manager.h | 24 +++++++++++++++ src/dpp/dave/decryptor.cpp | 24 +++++++++++++++ src/dpp/dave/decryptor.h | 24 +++++++++++++++ src/dpp/dave/encryptor.cpp | 24 +++++++++++++++ src/dpp/dave/encryptor.h | 24 +++++++++++++++ src/dpp/dave/frame_processors.cpp | 24 +++++++++++++++ src/dpp/dave/frame_processors.h | 24 +++++++++++++++ src/dpp/dave/key_ratchet.h | 24 +++++++++++++++ src/dpp/dave/leb128.cpp | 34 ++++++++++++++++++--- src/dpp/dave/leb128.h | 30 ++++++++++++++++++ src/dpp/dave/logger.cpp | 24 +++++++++++++++ src/dpp/dave/logger.h | 24 +++++++++++++++ src/dpp/dave/mls_key_ratchet.cpp | 24 +++++++++++++++ src/dpp/dave/mls_key_ratchet.h | 24 +++++++++++++++ src/dpp/dave/openssl_aead_cipher.cpp | 21 +++++++++++++ src/dpp/dave/openssl_aead_cipher.h | 21 +++++++++++++ src/dpp/dave/parameters.cpp | 24 +++++++++++++++ src/dpp/dave/parameters.h | 24 +++++++++++++++ src/dpp/dave/persisted_key_pair.cpp | 24 +++++++++++++++ src/dpp/dave/persisted_key_pair.h | 24 +++++++++++++++ src/dpp/dave/persisted_key_pair_generic.cpp | 24 +++++++++++++++ src/dpp/dave/scope_exit.h | 24 +++++++++++++++ src/dpp/dave/session.cpp | 24 +++++++++++++++ src/dpp/dave/session.h | 24 +++++++++++++++ src/dpp/dave/user_credential.cpp | 24 +++++++++++++++ src/dpp/dave/user_credential.h | 24 +++++++++++++++ src/dpp/dave/util.cpp | 24 +++++++++++++++ src/dpp/dave/util.h | 24 +++++++++++++++ src/dpp/dave/version.cpp | 24 +++++++++++++++ src/dpp/dave/version.h | 24 +++++++++++++++ 38 files changed, 919 insertions(+), 5 deletions(-) diff --git a/src/dpp/dave/array_view.h b/src/dpp/dave/array_view.h index 4e4f4773b7..2c2198cfa0 100755 --- a/src/dpp/dave/array_view.h +++ b/src/dpp/dave/array_view.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/cipher_interface.cpp b/src/dpp/dave/cipher_interface.cpp index 23d506566f..d456449f53 100755 --- a/src/dpp/dave/cipher_interface.cpp +++ b/src/dpp/dave/cipher_interface.cpp @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #include "cipher_interface.h" #include "openssl_aead_cipher.h" diff --git a/src/dpp/dave/cipher_interface.h b/src/dpp/dave/cipher_interface.h index ba33bea43b..c998bd862d 100755 --- a/src/dpp/dave/cipher_interface.h +++ b/src/dpp/dave/cipher_interface.h @@ -1,4 +1,28 @@ -#pragma once +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ + #pragma once #include diff --git a/src/dpp/dave/clock.h b/src/dpp/dave/clock.h index cd8fb76ab4..1ed7331c47 100755 --- a/src/dpp/dave/clock.h +++ b/src/dpp/dave/clock.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/codec_utils.cpp b/src/dpp/dave/codec_utils.cpp index af4a6fb57b..c547540e09 100755 --- a/src/dpp/dave/codec_utils.cpp +++ b/src/dpp/dave/codec_utils.cpp @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #include "codec_utils.h" #include diff --git a/src/dpp/dave/codec_utils.h b/src/dpp/dave/codec_utils.h index 56a9418338..e85d79b8ac 100755 --- a/src/dpp/dave/codec_utils.h +++ b/src/dpp/dave/codec_utils.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include "common.h" diff --git a/src/dpp/dave/common.h b/src/dpp/dave/common.h index 8dfd2c2c6d..51d5a40b45 100755 --- a/src/dpp/dave/common.h +++ b/src/dpp/dave/common.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/cryptor_manager.cpp b/src/dpp/dave/cryptor_manager.cpp index 96e1aeb92f..f193c96d32 100755 --- a/src/dpp/dave/cryptor_manager.cpp +++ b/src/dpp/dave/cryptor_manager.cpp @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #include "cryptor_manager.h" #include diff --git a/src/dpp/dave/cryptor_manager.h b/src/dpp/dave/cryptor_manager.h index 549456e767..d7bab473ea 100755 --- a/src/dpp/dave/cryptor_manager.h +++ b/src/dpp/dave/cryptor_manager.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/decryptor.cpp b/src/dpp/dave/decryptor.cpp index 05f609e9c2..373dc42710 100755 --- a/src/dpp/dave/decryptor.cpp +++ b/src/dpp/dave/decryptor.cpp @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #include "decryptor.h" #include diff --git a/src/dpp/dave/decryptor.h b/src/dpp/dave/decryptor.h index 19ee9bfbaf..75ea00bb6a 100755 --- a/src/dpp/dave/decryptor.h +++ b/src/dpp/dave/decryptor.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/encryptor.cpp b/src/dpp/dave/encryptor.cpp index 96b14be55d..301e299a9f 100755 --- a/src/dpp/dave/encryptor.cpp +++ b/src/dpp/dave/encryptor.cpp @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #include "encryptor.h" #include #include diff --git a/src/dpp/dave/encryptor.h b/src/dpp/dave/encryptor.h index e90bba63dd..ddd889a53e 100755 --- a/src/dpp/dave/encryptor.h +++ b/src/dpp/dave/encryptor.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/frame_processors.cpp b/src/dpp/dave/frame_processors.cpp index 703470429d..8e05bf1708 100755 --- a/src/dpp/dave/frame_processors.cpp +++ b/src/dpp/dave/frame_processors.cpp @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #include "frame_processors.h" #include #include diff --git a/src/dpp/dave/frame_processors.h b/src/dpp/dave/frame_processors.h index 5d647f36d1..7daf7481f8 100755 --- a/src/dpp/dave/frame_processors.h +++ b/src/dpp/dave/frame_processors.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/key_ratchet.h b/src/dpp/dave/key_ratchet.h index ca1af5d6bd..04262e88a1 100755 --- a/src/dpp/dave/key_ratchet.h +++ b/src/dpp/dave/key_ratchet.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/leb128.cpp b/src/dpp/dave/leb128.cpp index 7f53e01fda..6f168ad6e2 100755 --- a/src/dpp/dave/leb128.cpp +++ b/src/dpp/dave/leb128.cpp @@ -1,9 +1,35 @@ - +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * https://webrtc.googlesource.com/src/+/refs/heads/main/modules/rtp_rtcp/source/leb128.cc + * Copyright (c) 2023 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + * + ************************************************************************************/ #include "leb128.h" -// The following code was copied from the webrtc source code: -// https://webrtc.googlesource.com/src/+/refs/heads/main/modules/rtp_rtcp/source/leb128.cc - namespace dpp::dave { size_t Leb128Size(uint64_t value) diff --git a/src/dpp/dave/leb128.h b/src/dpp/dave/leb128.h index e7310995b4..ff7a92298c 100755 --- a/src/dpp/dave/leb128.h +++ b/src/dpp/dave/leb128.h @@ -1,3 +1,33 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * https://webrtc.googlesource.com/src/+/refs/heads/main/modules/rtp_rtcp/source/leb128.cc + * Copyright (c) 2023 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/logger.cpp b/src/dpp/dave/logger.cpp index bcab1ba2d6..a0e855a7ad 100755 --- a/src/dpp/dave/logger.cpp +++ b/src/dpp/dave/logger.cpp @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #include "logger.h" #include diff --git a/src/dpp/dave/logger.h b/src/dpp/dave/logger.h index 2ab9aeeadf..8e4b40fcd5 100755 --- a/src/dpp/dave/logger.h +++ b/src/dpp/dave/logger.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/mls_key_ratchet.cpp b/src/dpp/dave/mls_key_ratchet.cpp index fd87c675ab..9ef5c4a8b9 100755 --- a/src/dpp/dave/mls_key_ratchet.cpp +++ b/src/dpp/dave/mls_key_ratchet.cpp @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #include "mls_key_ratchet.h" #include diff --git a/src/dpp/dave/mls_key_ratchet.h b/src/dpp/dave/mls_key_ratchet.h index af225d2170..84d583a728 100755 --- a/src/dpp/dave/mls_key_ratchet.h +++ b/src/dpp/dave/mls_key_ratchet.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/openssl_aead_cipher.cpp b/src/dpp/dave/openssl_aead_cipher.cpp index 39f4c75353..d629346e35 100755 --- a/src/dpp/dave/openssl_aead_cipher.cpp +++ b/src/dpp/dave/openssl_aead_cipher.cpp @@ -1,3 +1,24 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + ************************************************************************************/ #include "openssl_aead_cipher.h" #include #include diff --git a/src/dpp/dave/openssl_aead_cipher.h b/src/dpp/dave/openssl_aead_cipher.h index 7f541681a1..27193c608b 100755 --- a/src/dpp/dave/openssl_aead_cipher.h +++ b/src/dpp/dave/openssl_aead_cipher.h @@ -1,3 +1,24 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/parameters.cpp b/src/dpp/dave/parameters.cpp index a2ee64d9c5..b4ddba3909 100755 --- a/src/dpp/dave/parameters.cpp +++ b/src/dpp/dave/parameters.cpp @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #include "parameters.h" namespace dpp::dave::mls { diff --git a/src/dpp/dave/parameters.h b/src/dpp/dave/parameters.h index 52dcde14d5..244f663703 100755 --- a/src/dpp/dave/parameters.h +++ b/src/dpp/dave/parameters.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/persisted_key_pair.cpp b/src/dpp/dave/persisted_key_pair.cpp index 3673937e2f..23f56bd84c 100755 --- a/src/dpp/dave/persisted_key_pair.cpp +++ b/src/dpp/dave/persisted_key_pair.cpp @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #include "persisted_key_pair.h" #include diff --git a/src/dpp/dave/persisted_key_pair.h b/src/dpp/dave/persisted_key_pair.h index 6c64370542..65bb93ba30 100755 --- a/src/dpp/dave/persisted_key_pair.h +++ b/src/dpp/dave/persisted_key_pair.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/persisted_key_pair_generic.cpp b/src/dpp/dave/persisted_key_pair_generic.cpp index 189f4c38a1..7bd3411f1c 100755 --- a/src/dpp/dave/persisted_key_pair_generic.cpp +++ b/src/dpp/dave/persisted_key_pair_generic.cpp @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #include #include #include diff --git a/src/dpp/dave/scope_exit.h b/src/dpp/dave/scope_exit.h index 3b7a7865ff..eca6b7a583 100755 --- a/src/dpp/dave/scope_exit.h +++ b/src/dpp/dave/scope_exit.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/session.cpp b/src/dpp/dave/session.cpp index 58a58d772a..8d70861b18 100755 --- a/src/dpp/dave/session.cpp +++ b/src/dpp/dave/session.cpp @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #include "session.h" #include diff --git a/src/dpp/dave/session.h b/src/dpp/dave/session.h index 98077f9544..542ccfc076 100755 --- a/src/dpp/dave/session.h +++ b/src/dpp/dave/session.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/user_credential.cpp b/src/dpp/dave/user_credential.cpp index b3be2d731f..72a9bae5f4 100755 --- a/src/dpp/dave/user_credential.cpp +++ b/src/dpp/dave/user_credential.cpp @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #include "user_credential.h" #include #include "util.h" diff --git a/src/dpp/dave/user_credential.h b/src/dpp/dave/user_credential.h index b27c30999c..7e13194538 100755 --- a/src/dpp/dave/user_credential.h +++ b/src/dpp/dave/user_credential.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/util.cpp b/src/dpp/dave/util.cpp index 02b4b8e1ee..f91a03eec0 100755 --- a/src/dpp/dave/util.cpp +++ b/src/dpp/dave/util.cpp @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #include "util.h" namespace dpp::dave::mls { diff --git a/src/dpp/dave/util.h b/src/dpp/dave/util.h index 9bac7641f6..7bd59a7e6e 100755 --- a/src/dpp/dave/util.h +++ b/src/dpp/dave/util.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include diff --git a/src/dpp/dave/version.cpp b/src/dpp/dave/version.cpp index a0fa77ac22..780d58fab7 100755 --- a/src/dpp/dave/version.cpp +++ b/src/dpp/dave/version.cpp @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #include "version.h" namespace dpp::dave { diff --git a/src/dpp/dave/version.h b/src/dpp/dave/version.h index 7fdf4569c8..bcbd067d95 100755 --- a/src/dpp/dave/version.h +++ b/src/dpp/dave/version.h @@ -1,3 +1,27 @@ +/************************************************************************************ + * + * D++, A Lightweight C++ library for Discord + * + * SPDX-License-Identifier: Apache-2.0 + * Copyright 2021 Craig Edwards and D++ contributors + * (https://github.com/brainboxdotcc/DPP/graphs/contributors) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * This folder is a modified fork of libdave, https://github.com/discord/libdave + * Copyright (c) 2024 Discord, Licensed under MIT + * + ************************************************************************************/ #pragma once #include