# See https://github.com/eqrion/cbindgen/blob/master/docs.md#cbindgentoml # for detailed documentation of every option here. language = "C" ############## Options for Wrapping the Contents of the Header ################# header = """/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the \"License\"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ """ include_guard = "http_desync_guardian_bindings_h" autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */" include_version = false namespaces = [] using_namespaces = [] sys_includes = [] includes = [] no_includes = false ############################ Code Style Options ################################ braces = "SameLine" line_length = 100 tab_width = 2 documentation_style = "auto" ############################# Codegen Options ################################## style = "type" [defines] [export] include = [] exclude = [] prefix = "http_desync_guardian_" item_types = [] renaming_overrides_prefixing = true [export.rename] "RequestSafetyTier" = "http_desync_guardian_request_safety_tier_t" "HeaderSafetyTier" = "http_desync_guardian_header_safety_tier_t" "ClassificationVerdict" = "http_desync_guardian_verdict_t" "ClassificationReason" = "http_desync_guardian_classification_reason_t" "ExtHttpRequestData" = "http_desync_guardian_request_t" "ExtHttpHeaders" = "http_desync_guardian_http_headers_t" "ExtHttpHeader" = "http_desync_guardian_http_header_t" "ExtString" = "http_desync_guardian_string_t" "ExtMetricsSettings" = "http_desync_guardian_metrics_settings_t" "ExtLoggingSettings" = "http_desync_guardian_logging_settings_t" "ExtTierMetricsSettings" = "http_desync_guardian_tier_metrics_settings_t" "ExtClassificationMetricsSettings" = "http_desync_guardian_classification_metrics_settings_t" "SettingsReturnCode" = "http_desync_guardian_settings_rc_t" "ExtRequestAnalysisMetricsUnit" = "http_desync_guardian_metrics_unit_t" "ExtRequestAnalysisMetricsUnit_RequestSafetyTier" = "http_desync_guardian_tier_count_t" "ExtRequestAnalysisMetricsUnit_ClassificationReason" = "http_desync_guardian_classification_count_t" "MESSAGE_MAX_SIZE" = "HTTP_DESYNC_GUARDIAN_MESSAGE_MAX_SIZE" "VERSION" = "HTTP_DESYNC_GUARDIAN_VERSION" "HEADERS_STACK_STORAGE_SIZE" = "HTTP_DESYNC_GUARDIAN_HEADERS_STACK_STORAGE_SIZE" "LF" = "HTTP_DESYNC_GUARDIAN_LF" "SP" = "HTTP_DESYNC_GUARDIAN_SP" "COLON" = "HTTP_DESYNC_GUARDIAN_COLON" [export.body] [fn] rename_args = "None" args = "auto" sort_by = "Name" [struct] rename_fields = "None" derive_constructor = true derive_eq = false derive_neq = false derive_lt = false derive_lte = false derive_gt = false derive_gte = false [enum] rename_variants = "QualifiedScreamingSnakeCase" add_sentinel = true prefix_with_name = false derive_helper_methods = false derive_const_casts = false derive_mut_casts = false derive_tagged_enum_destructor = false derive_tagged_enum_copy_constructor = false enum_class = false private_default_tagged_enum_constructor = false [const] allow_static_const = true [macro_expansion] bitflags = false ############## Options for How Your Rust library Should Be Parsed ############## [parse] parse_deps = false exclude = [] clean = false extra_bindings = [] [parse.expand] crates = [] all_features = false default_features = true features = []