diff options
Diffstat (limited to 'ios/MullvadRustRuntime/include')
| -rw-r--r-- | ios/MullvadRustRuntime/include/mullvad_rust_runtime.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ios/MullvadRustRuntime/include/mullvad_rust_runtime.h b/ios/MullvadRustRuntime/include/mullvad_rust_runtime.h index e054de0044..abdc8ea809 100644 --- a/ios/MullvadRustRuntime/include/mullvad_rust_runtime.h +++ b/ios/MullvadRustRuntime/include/mullvad_rust_runtime.h @@ -24,6 +24,8 @@ typedef struct EncryptedDnsProxyState EncryptedDnsProxyState; typedef struct ExchangeCancelToken ExchangeCancelToken; +typedef struct Option______u8 Option______u8; + typedef struct RequestCancelHandle RequestCancelHandle; typedef struct RetryStrategy RetryStrategy; @@ -43,6 +45,7 @@ typedef struct SwiftRetryStrategy { typedef struct SwiftMullvadApiResponse { uint8_t *body; uintptr_t body_size; + uint8_t *etag; uint16_t status_code; uint8_t *error_description; uint8_t *server_response_code; @@ -113,6 +116,11 @@ struct SwiftCancelHandle mullvad_api_get_addresses(struct SwiftApiContext api_co void *completion_cookie, struct SwiftRetryStrategy retry_strategy); +struct SwiftCancelHandle mullvad_api_get_relays(struct SwiftApiContext api_context, + void *completion_cookie, + struct SwiftRetryStrategy retry_strategy, + struct Option______u8 etag); + /** * Called by the Swift side to signal that a Mullvad API call should be cancelled. * After this call, the cancel token is no longer valid. |
