62 lines
1.7 KiB
TOML
62 lines
1.7 KiB
TOML
|
# To view thetemplate cbindgen.toml file with all of the default values, visit:
|
||
|
# https://github.com/eqrion/cbindgen/blob/master/template.toml
|
||
|
#
|
||
|
# See https://github.com/eqrion/cbindgen/blob/master/docs.md#cbindgentoml
|
||
|
# for detailed documentation of every option.
|
||
|
|
||
|
language = "C"
|
||
|
|
||
|
############## Options for Wrapping the Contents of the Header #################
|
||
|
|
||
|
after_includes = "typedef struct cli_matcher cli_matcher; typedef struct cli_ctx_tag cli_ctx;"
|
||
|
autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */"
|
||
|
header = "/* Copyright (C) 2021-2022 Cisco Systems, Inc. and/or its affiliates. All rights reserved. */"
|
||
|
include_guard = "__CLAMAV_RUST_H"
|
||
|
includes = ["clamav.h", "matcher-ac.h"]
|
||
|
no_includes = false
|
||
|
sys_includes = []
|
||
|
|
||
|
[export]
|
||
|
exclude = []
|
||
|
include = [
|
||
|
"cdiff::cdiff_apply",
|
||
|
"cdiff::script2cdiff",
|
||
|
"fuzzy_hash::fuzzy_hash_calculate_image",
|
||
|
"fuzzy_hash::fuzzy_hash_load_subsignature",
|
||
|
"fuzzy_hash::fuzzy_hash_check",
|
||
|
"frs_error::FFIError",
|
||
|
"frs_error::ffierror_fmt",
|
||
|
"frs_error::ffierror_free",
|
||
|
"logging::clrs_eprint",
|
||
|
"evidence::evidence_new",
|
||
|
"evidence::evidence_free",
|
||
|
"evidence::evidence_render_verdict",
|
||
|
"evidence::evidence_get_last_alert",
|
||
|
"evidence::evidence_num_alerts",
|
||
|
"evidence::evidence_num_indicators_type",
|
||
|
"evidence::evidence_add_indicator",
|
||
|
"evidence::IndicatorType",
|
||
|
]
|
||
|
|
||
|
# prefix = "CAPI_"
|
||
|
item_types = []
|
||
|
renaming_overrides_prefixing = false
|
||
|
|
||
|
############## Options for How Your Rust library Should Be Parsed ##############
|
||
|
|
||
|
[parse]
|
||
|
parse_deps = false
|
||
|
# include = []
|
||
|
clean = false
|
||
|
exclude = []
|
||
|
extra_bindings = []
|
||
|
|
||
|
[parse.expand]
|
||
|
all_features = false
|
||
|
crates = []
|
||
|
default_features = true
|
||
|
features = []
|
||
|
|
||
|
[enum]
|
||
|
prefix_with_name = true
|