1 #ifndef AWS_JNI_RETRY_UTILS_H 2 #define AWS_JNI_RETRY_UTILS_H 3 4 /** 5 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 6 * SPDX-License-Identifier: Apache-2.0. 7 */ 8 9 #include <jni.h> 10 11 struct aws_exponential_backoff_retry_options; 12 struct aws_standard_retry_options; 13 14 int aws_exponential_backoff_retry_options_from_java( 15 JNIEnv *env, 16 jobject jni_backoff_retry_options, 17 struct aws_exponential_backoff_retry_options *backoff_retry_options); 18 19 int aws_standard_retry_options_from_java( 20 JNIEnv *env, 21 jobject jni_standard_retry_options, 22 struct aws_standard_retry_options *standard_retry_options); 23 24 bool aws_exponential_backoff_retry_options_equals( 25 const struct aws_exponential_backoff_retry_options *options, 26 const struct aws_exponential_backoff_retry_options *expected_options); 27 28 bool aws_standard_retry_options_equals( 29 const struct aws_standard_retry_options *options, 30 const struct aws_standard_retry_options *expected_options); 31 32 #endif /* AWS_JNI_RETRY_STRATEGY_H */ 33