blob: c4832f6ccbf905cf4d7a4a9da6e76d54093a8af4 [file] [log] [blame]
header = """
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
"""
autogen_warning = """
// Warning:
// This file was autogenerated by cbindgen.
// Do not modify this file manually.
"""
include_guard = "GARNET_LIB_RUST_WLAN_MLME_ABI_H_"
language = "C"
[export]
# These types are not used yet but we want to generate
# bindings for them already.
include = ["BufferProvider", "InBuf", "OutBuf"]
prefix = "rust_mlme_"
[export.rename]
# Unfortunately cbindgen's rename machinery is rather simple
# and doesn't accomodate our needs. As a result we have to
# explicitly declare the items which should get renamed
"BufferProvider" = "buffer_provider_ops_t"
"InBuf" = "in_buf_t"
"OutBuf" = "out_buf_t"
[fn]
prefix = 'extern "C"'