| // 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. |
| |
| |
| #ifndef GARNET_LIB_RUST_WLAN_MLME_ABI_H_ |
| #define GARNET_LIB_RUST_WLAN_MLME_ABI_H_ |
| |
| // Warning: |
| // This file was autogenerated by cbindgen. |
| // Do not modify this file manually. |
| |
| |
| #include <stdarg.h> |
| #include <stdbool.h> |
| #include <stdint.h> |
| #include <stdlib.h> |
| |
| typedef struct { |
| void (*return_buffer)(void *raw); |
| void *raw; |
| uint8_t *data; |
| uintptr_t len; |
| } rust_mlme_buffer_t; |
| |
| typedef struct { |
| rust_mlme_buffer_t (*take_buffer)(uintptr_t min_len); |
| } rust_mlme_buffer_provider_ops_t; |
| |
| extern "C" int32_t rust_mlme_is_valid_open_auth_resp(rust_mlme_buffer_t buf, bool has_body_aligned); |
| |
| #endif /* GARNET_LIB_RUST_WLAN_MLME_ABI_H_ */ |