diff options
Diffstat (limited to 'ios/MullvadRustRuntime/include')
| -rw-r--r-- | ios/MullvadRustRuntime/include/mullvad_rust_runtime.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ios/MullvadRustRuntime/include/mullvad_rust_runtime.h b/ios/MullvadRustRuntime/include/mullvad_rust_runtime.h index 12ce0fd4c0..77dac6b4da 100644 --- a/ios/MullvadRustRuntime/include/mullvad_rust_runtime.h +++ b/ios/MullvadRustRuntime/include/mullvad_rust_runtime.h @@ -54,6 +54,15 @@ typedef struct CompletionCookie { void *inner; } CompletionCookie; +typedef struct SwiftProblemReportRequest { + const uint8_t *address; + uintptr_t address_len; + const uint8_t *message; + uintptr_t message_len; + const uint8_t *log; + uintptr_t log_len; +} SwiftProblemReportRequest; + typedef struct ProxyHandle { void *context; uint16_t port; @@ -258,6 +267,11 @@ struct SwiftRetryStrategy mullvad_api_retry_strategy_exponential(uintptr_t max_r uint32_t factor, uint64_t max_delay_sec); +struct SwiftCancelHandle mullvad_api_send_problem_report(struct SwiftApiContext api_context, + void *completion_cookie, + struct SwiftRetryStrategy retry_strategy, + const struct SwiftProblemReportRequest *request); + /** * Initializes a valid pointer to an instance of `EncryptedDnsProxyState`. * |
