From 591b202808907378657abeaa978b5d5f6a629828 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sat, 7 Oct 2023 16:23:31 +0200 Subject: [PATCH] Rename to .cpp (unfinished) JWT code will feature c++ code (jasmin json library will be replaced with rapidjson). --- src/thirdparty/jwt/CMakeLists.txt | 12 ++++++------ src/thirdparty/jwt/{base64.c => base64.cpp} | 0 src/thirdparty/jwt/{claim.c => claim.cpp} | 0 src/thirdparty/jwt/{decode.c => decode.cpp} | 0 src/thirdparty/jwt/{encode.c => encode.cpp} | 0 src/thirdparty/jwt/{util.c => util.cpp} | 0 src/thirdparty/jwt/{version.c => version.cpp} | 0 7 files changed, 6 insertions(+), 6 deletions(-) rename src/thirdparty/jwt/{base64.c => base64.cpp} (100%) rename src/thirdparty/jwt/{claim.c => claim.cpp} (100%) rename src/thirdparty/jwt/{decode.c => decode.cpp} (100%) rename src/thirdparty/jwt/{encode.c => encode.cpp} (100%) rename src/thirdparty/jwt/{util.c => util.cpp} (100%) rename src/thirdparty/jwt/{version.c => version.cpp} (100%) diff --git a/src/thirdparty/jwt/CMakeLists.txt b/src/thirdparty/jwt/CMakeLists.txt index a4bde888..0477cbab 100644 --- a/src/thirdparty/jwt/CMakeLists.txt +++ b/src/thirdparty/jwt/CMakeLists.txt @@ -4,12 +4,12 @@ add_module( "lib" "libjwt" "" ${FOLDER_CONTEXT} TRUE TRUE ) start_sources() add_sources( SOURCE_GROUP "Source" - "base64.c" - "claim.c" - "decode.c" - "encode.c" - "util.c" - "version.c" + "base64.cpp" + "claim.cpp" + "decode.cpp" + "encode.cpp" + "util.cpp" + "version.cpp" ) add_sources( SOURCE_GROUP "Include" diff --git a/src/thirdparty/jwt/base64.c b/src/thirdparty/jwt/base64.cpp similarity index 100% rename from src/thirdparty/jwt/base64.c rename to src/thirdparty/jwt/base64.cpp diff --git a/src/thirdparty/jwt/claim.c b/src/thirdparty/jwt/claim.cpp similarity index 100% rename from src/thirdparty/jwt/claim.c rename to src/thirdparty/jwt/claim.cpp diff --git a/src/thirdparty/jwt/decode.c b/src/thirdparty/jwt/decode.cpp similarity index 100% rename from src/thirdparty/jwt/decode.c rename to src/thirdparty/jwt/decode.cpp diff --git a/src/thirdparty/jwt/encode.c b/src/thirdparty/jwt/encode.cpp similarity index 100% rename from src/thirdparty/jwt/encode.c rename to src/thirdparty/jwt/encode.cpp diff --git a/src/thirdparty/jwt/util.c b/src/thirdparty/jwt/util.cpp similarity index 100% rename from src/thirdparty/jwt/util.c rename to src/thirdparty/jwt/util.cpp diff --git a/src/thirdparty/jwt/version.c b/src/thirdparty/jwt/version.cpp similarity index 100% rename from src/thirdparty/jwt/version.c rename to src/thirdparty/jwt/version.cpp