Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
openssl_shared: ON
curl_shared: ON
- suite: msvc-integration
generator: Visual Studio 17 2022
generator: Ninja
preload_deps: ON
openssl_shared: ON
curl_shared: ON
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
ninja --version

- name: Set up MSVC
if: matrix.generator == 'Visual Studio 17 2022'
if: matrix.suite == 'msvc-integration'
uses: ilammy/msvc-dev-cmd@v1

- name: Configure MinGW integration
Expand Down Expand Up @@ -136,6 +136,7 @@ jobs:
-DKURLYK_TEST_PRELOAD_DEPS=${{ matrix.preload_deps }} `
-DKURLYK_OPENSSL_SHARED=${{ matrix.openssl_shared }} `
-DKURLYK_CURL_SHARED=${{ matrix.curl_shared }} `
-DCMAKE_BUILD_TYPE=Release `
-DCMAKE_CXX_STANDARD=17 `
-DCMAKE_CXX_STANDARD_REQUIRED=ON `
-Wno-dev
Expand Down
20 changes: 20 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,26 @@ See [guides/critical-defaults.md](guides/critical-defaults.md) for the full
list of mandatory pre-edit, compatibility, testing, and git rules.
For branch and PR policy, also see [guides/git-workflow.md](guides/git-workflow.md).

## Header Guards

For every project-owned C/C++ header, use `#pragma once` together with a
non-reserved include guard. Guard names must be derived from the project prefix
and header path, and must clearly indicate that the macro is a header guard:

```cpp
KURLYK_HEADER_<PATH>_<FILE>_<EXT>_INCLUDED
```

Do not use identifiers reserved for the compiler, standard library, platform SDK,
or other implementation internals. In particular, do not use include guard names
that start with an underscore, start with an underscore followed by an uppercase
letter, or contain a double underscore anywhere.

Implementation fragments such as `.ipp`, `.inl`, or `.tpp` files may remain
unguarded if they are only included from already guarded headers and are not
intended for direct inclusion. If they are intended to be included directly, they
must follow the same non-reserved guard naming rule.

## Provenance and Honesty

An agent must not:
Expand Down
5 changes: 4 additions & 1 deletion guides/cpp-development-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@
- Do not use `using namespace`; always qualify names such as `std::`.
- Keep project headers before system headers in include lists.
- Header files must start with `#pragma once`; if an include guard is also used,
prefer a `_KURLYK_*_HPP_INCLUDED` style guard that matches the file.
use a non-reserved guard derived from the project prefix and header path:
`KURLYK_HEADER_<PATH>_<FILE>_<EXT>_INCLUDED`.
- Do not use guard names that start with an underscore, start with an
underscore followed by an uppercase letter, or contain a double underscore.
- Keep source and documentation files in UTF-8.
- Write non-ASCII C++ string literals as `u8"..."`.
- The default standard is C++11. Guard C++17-only code with
Expand Down
6 changes: 3 additions & 3 deletions include/kurlyk.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HPP_INCLUDED
#define _KURLYK_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HPP_INCLUDED

/// \file kurlyk.hpp
/// \brief Main header file for the Kurlyk library, providing HTTP and WebSocket support.
Expand Down Expand Up @@ -88,4 +88,4 @@ namespace kurlyk {

} // namespace kurlyk

#endif // _KURLYK_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/core.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_CORE_HPP_INCLUDED
#define _KURLYK_CORE_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_CORE_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_CORE_HPP_INCLUDED

/// \file core.hpp
/// \brief Aggregates core infrastructure components such as task manager interface and the network worker.
Expand Down Expand Up @@ -34,4 +34,4 @@
#include "core/INetworkTaskManager.hpp"
#include "core/NetworkWorker.hpp"

#endif // _KURLYK_CORE_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_CORE_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/core/INetworkTaskManager.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_CORE_INETWORKTASKMANAGER_HPP_INCLUDED
#define _KURLYK_CORE_INETWORKTASKMANAGER_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_CORE_I_NETWORK_TASK_MANAGER_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_CORE_I_NETWORK_TASK_MANAGER_HPP_INCLUDED

/// \file INetworkTaskManager.hpp
/// \brief Defines an interface for modules that can register with the NetworkWorker for lifecycle handling.
Expand All @@ -25,4 +25,4 @@ namespace kurlyk::core {

} // namespace kurlyk::core

#endif // _KURLYK_CORE_INETWORKTASKMANAGER_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_CORE_I_NETWORK_TASK_MANAGER_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/core/NetworkWorker.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_NETWORK_WORKER_HPP_INCLUDED
#define _KURLYK_NETWORK_WORKER_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_CORE_NETWORK_WORKER_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_CORE_NETWORK_WORKER_HPP_INCLUDED

/// \file NetworkWorker.hpp
/// \brief Manages and processes network tasks such as HTTP requests and WebSocket events in a separate thread.
Expand Down Expand Up @@ -291,4 +291,4 @@ namespace kurlyk::core {

}; // namespace kurlyk

#endif // _KURLYK_NETWORK_WORKER_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_CORE_NETWORK_WORKER_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/http.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_HPP_INCLUDED
#define _KURLYK_HTTP_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_HPP_INCLUDED

/// \file http.hpp
/// \brief Aggregates main HTTP interfaces and utilities, including client, request manager, and helpers.
Expand All @@ -26,4 +26,4 @@
#include "http/auth.hpp"
#endif

#endif // _KURLYK_HTTP_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/http/HttpClient.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_CLIENT_HPP_INCLUDED
#define _KURLYK_HTTP_CLIENT_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_HTTP_CLIENT_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_HTTP_CLIENT_HPP_INCLUDED

/// \file HttpClient.hpp
/// \brief Contains the definition of the concrete HttpClient class for making HTTP requests to a specific host.
Expand Down Expand Up @@ -1088,4 +1088,4 @@ namespace kurlyk {

}; // namespace kurlyk

#endif // _KURLYK_HTTP_CLIENT_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_HTTP_CLIENT_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/http/HttpRequestManager.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_REQUEST_MANAGER_HPP_INCLUDED
#define _KURLYK_HTTP_REQUEST_MANAGER_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HPP_INCLUDED

/// \file HttpRequestManager.hpp
/// \brief Manages and processes HTTP requests using a singleton pattern.
Expand Down Expand Up @@ -643,4 +643,4 @@ namespace kurlyk {

}; // namespace kurlyk

#endif // _KURLYK_HTTP_REQUEST_MANAGER_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HPP_INCLUDED
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_MULTI_REQUEST_HANDLER_HPP_INCLUDED
#define _KURLYK_HTTP_MULTI_REQUEST_HANDLER_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_BATCH_REQUEST_HANDLER_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_BATCH_REQUEST_HANDLER_HPP_INCLUDED

/// \file HttpBatchRequestHandler.hpp
/// \brief Manages multiple asynchronous HTTP requests using libcurl's multi interface.
Expand Down Expand Up @@ -205,4 +205,4 @@ namespace kurlyk {

} // namespace kurlyk

#endif // _KURLYK_HTTP_MULTI_REQUEST_HANDLER_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_BATCH_REQUEST_HANDLER_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/http/HttpRequestManager/HttpRateLimitDelay.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_RATE_LIMIT_DELAY_HPP_INCLUDED
#define _KURLYK_HTTP_RATE_LIMIT_DELAY_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_RATE_LIMIT_DELAY_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_RATE_LIMIT_DELAY_HPP_INCLUDED

/// \file HttpRateLimitDelay.hpp
/// \brief Defines the RateLimitDelay result type for time-until-allowed queries.
Expand All @@ -26,4 +26,4 @@ namespace kurlyk {

} // namespace kurlyk

#endif // _KURLYK_HTTP_RATE_LIMIT_DELAY_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_RATE_LIMIT_DELAY_HPP_INCLUDED
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_RATE_LIMIT_HANDLE_HPP_INCLUDED
#define _KURLYK_HTTP_RATE_LIMIT_HANDLE_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_RATE_LIMIT_HANDLE_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_RATE_LIMIT_HANDLE_HPP_INCLUDED

/// \file HttpRateLimitHandle.hpp
/// \brief Defines RAII handle for keeping HTTP rate limits alive.
Expand Down Expand Up @@ -79,4 +79,4 @@ namespace kurlyk {

} // namespace kurlyk

#endif // _KURLYK_HTTP_RATE_LIMIT_HANDLE_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_RATE_LIMIT_HANDLE_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/http/HttpRequestManager/HttpRateLimiter.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_RATE_LIMITER_HPP_INCLUDED
#define _KURLYK_HTTP_RATE_LIMITER_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_RATE_LIMITER_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_RATE_LIMITER_HPP_INCLUDED

/// \file HttpRateLimiter.hpp
/// \brief Defines the HttpRateLimiter class for managing rate limits on HTTP requests.
Expand Down Expand Up @@ -619,4 +619,4 @@ namespace kurlyk {

} // namespace kurlyk

#endif // _KURLYK_HTTP_RATE_LIMITER_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_RATE_LIMITER_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/http/HttpRequestManager/HttpRequestContext.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_REQUEST_CONTEXT_HPP_INCLUDED
#define _KURLYK_HTTP_REQUEST_CONTEXT_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_REQUEST_CONTEXT_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_REQUEST_CONTEXT_HPP_INCLUDED

/// \file HttpRequestContext.hpp
/// \brief Defines the HttpRequestContext class for managing HTTP request context, including retries and timing.
Expand Down Expand Up @@ -50,4 +50,4 @@ namespace kurlyk {

} // namespace kurlyk

#endif // _KURLYK_HTTP_REQUEST_CONTEXT_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_REQUEST_CONTEXT_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/http/HttpRequestManager/HttpRequestHandler.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_REQUEST_HANDLER_HPP_INCLUDED
#define _KURLYK_HTTP_REQUEST_HANDLER_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_REQUEST_HANDLER_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_REQUEST_HANDLER_HPP_INCLUDED

/// \file RequestHandler.hpp
/// \brief Defines the HttpRequestHandler class for managing asynchronous HTTP requests.
Expand Down Expand Up @@ -362,4 +362,4 @@ namespace kurlyk {

} // namespace kurlyk

#endif // _KURLYK_HTTP_REQUEST_HANDLER_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_HTTP_REQUEST_MANAGER_HTTP_REQUEST_HANDLER_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/http/auth.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_AUTH_HPP_INCLUDED
#define _KURLYK_HTTP_AUTH_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_AUTH_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_AUTH_HPP_INCLUDED

/// \file auth.hpp
/// \brief Aggregates HTTP authentication providers and OAuth2 PKCE client.
Expand All @@ -15,4 +15,4 @@
#include "auth/OAuthPkceClient.hpp"
#endif

#endif // _KURLYK_HTTP_AUTH_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_AUTH_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/http/auth/ApiKeyAuthProvider.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_AUTH_API_KEY_AUTH_PROVIDER_HPP_INCLUDED
#define _KURLYK_HTTP_AUTH_API_KEY_AUTH_PROVIDER_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_AUTH_API_KEY_AUTH_PROVIDER_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_AUTH_API_KEY_AUTH_PROVIDER_HPP_INCLUDED

/// \file ApiKeyAuthProvider.hpp
/// \brief Provides API key authentication via header or query parameter.
Expand Down Expand Up @@ -83,4 +83,4 @@ namespace auth {
} // namespace http
} // namespace kurlyk

#endif // _KURLYK_HTTP_AUTH_API_KEY_AUTH_PROVIDER_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_AUTH_API_KEY_AUTH_PROVIDER_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/http/auth/BearerTokenAuthProvider.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_AUTH_BEARER_TOKEN_AUTH_PROVIDER_HPP_INCLUDED
#define _KURLYK_HTTP_AUTH_BEARER_TOKEN_AUTH_PROVIDER_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_AUTH_BEARER_TOKEN_AUTH_PROVIDER_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_AUTH_BEARER_TOKEN_AUTH_PROVIDER_HPP_INCLUDED

/// \file BearerTokenAuthProvider.hpp
/// \brief Provides Bearer token authentication for HTTP requests.
Expand Down Expand Up @@ -49,4 +49,4 @@ namespace auth {
} // namespace http
} // namespace kurlyk

#endif // _KURLYK_HTTP_AUTH_BEARER_TOKEN_AUTH_PROVIDER_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_AUTH_BEARER_TOKEN_AUTH_PROVIDER_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/http/auth/IAuthProvider.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_AUTH_IAUTH_PROVIDER_HPP_INCLUDED
#define _KURLYK_HTTP_AUTH_IAUTH_PROVIDER_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_AUTH_I_AUTH_PROVIDER_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_AUTH_I_AUTH_PROVIDER_HPP_INCLUDED

/// \file IAuthProvider.hpp
/// \brief Defines the IAuthProvider interface for HTTP authentication strategies.
Expand Down Expand Up @@ -33,4 +33,4 @@ namespace auth {
} // namespace http
} // namespace kurlyk

#endif // _KURLYK_HTTP_AUTH_IAUTH_PROVIDER_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_AUTH_I_AUTH_PROVIDER_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/http/auth/OAuthPkceClient.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_AUTH_OAUTH_PKCE_CLIENT_HPP_INCLUDED
#define _KURLYK_HTTP_AUTH_OAUTH_PKCE_CLIENT_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_AUTH_O_AUTH_PKCE_CLIENT_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_AUTH_O_AUTH_PKCE_CLIENT_HPP_INCLUDED

/// \file OAuthPkceClient.hpp
/// \brief OAuth2 Authorization Code + PKCE client using standalone HTTP helpers.
Expand Down Expand Up @@ -305,4 +305,4 @@ namespace auth {
} // namespace http
} // namespace kurlyk

#endif // _KURLYK_HTTP_AUTH_OAUTH_PKCE_CLIENT_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_AUTH_O_AUTH_PKCE_CLIENT_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/http/auth/data.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_AUTH_DATA_HPP_INCLUDED
#define _KURLYK_HTTP_AUTH_DATA_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_AUTH_DATA_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_AUTH_DATA_HPP_INCLUDED

/// \file data.hpp
/// \brief Aggregates OAuth2 authentication data structures.
Expand All @@ -9,4 +9,4 @@
#include "data/OAuthConfig.hpp"
#include "data/AuthResult.hpp"

#endif // _KURLYK_HTTP_AUTH_DATA_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_AUTH_DATA_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/http/auth/data/AuthResult.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_AUTH_DATA_AUTH_RESULT_HPP_INCLUDED
#define _KURLYK_HTTP_AUTH_DATA_AUTH_RESULT_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_AUTH_DATA_AUTH_RESULT_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_AUTH_DATA_AUTH_RESULT_HPP_INCLUDED

/// \file AuthResult.hpp
/// \brief Defines authentication result types and error codes.
Expand Down Expand Up @@ -89,4 +89,4 @@ namespace kurlyk {

#endif // KURLYK_JSON_SUPPORT

#endif // _KURLYK_HTTP_AUTH_DATA_AUTH_RESULT_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_AUTH_DATA_AUTH_RESULT_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/http/auth/data/OAuthConfig.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_AUTH_DATA_OAUTH_CONFIG_HPP_INCLUDED
#define _KURLYK_HTTP_AUTH_DATA_OAUTH_CONFIG_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_AUTH_DATA_O_AUTH_CONFIG_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_AUTH_DATA_O_AUTH_CONFIG_HPP_INCLUDED

/// \file OAuthConfig.hpp
/// \brief Defines the OAuthConfig structure for OAuth2 client configuration.
Expand Down Expand Up @@ -66,4 +66,4 @@ namespace kurlyk {

#endif // KURLYK_JSON_SUPPORT

#endif // _KURLYK_HTTP_AUTH_DATA_OAUTH_CONFIG_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_AUTH_DATA_O_AUTH_CONFIG_HPP_INCLUDED
6 changes: 3 additions & 3 deletions include/kurlyk/http/auth/data/OAuthToken.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef _KURLYK_HTTP_AUTH_DATA_OAUTH_TOKEN_HPP_INCLUDED
#define _KURLYK_HTTP_AUTH_DATA_OAUTH_TOKEN_HPP_INCLUDED
#ifndef KURLYK_HEADER_KURLYK_HTTP_AUTH_DATA_O_AUTH_TOKEN_HPP_INCLUDED
#define KURLYK_HEADER_KURLYK_HTTP_AUTH_DATA_O_AUTH_TOKEN_HPP_INCLUDED

/// \file OAuthToken.hpp
/// \brief Defines the OAuthToken structure for storing OAuth2 token data.
Expand Down Expand Up @@ -65,4 +65,4 @@ namespace kurlyk {

#endif // KURLYK_JSON_SUPPORT

#endif // _KURLYK_HTTP_AUTH_DATA_OAUTH_TOKEN_HPP_INCLUDED
#endif // KURLYK_HEADER_KURLYK_HTTP_AUTH_DATA_O_AUTH_TOKEN_HPP_INCLUDED
Loading
Loading