driver_symbols/
bindings.rs

1// Copyright 2025 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#![allow(dead_code)]
6#![allow(non_camel_case_types)]
7#![allow(non_snake_case)]
8
9pub use zx_types::*;
10
11#[repr(C)]
12#[derive(Debug, Copy, Clone)]
13pub struct restricted_symbols {
14    _unused: [u8; 0],
15}
16pub type restricted_symbols_t = restricted_symbols;
17unsafe extern "C" {
18    pub fn restricted_symbols_find(
19        driver_vmo: zx_handle_t,
20        driver_url: *const ::core::ffi::c_char,
21        out_symbols: *mut *mut restricted_symbols_t,
22        out_symbols_found: *mut usize,
23    ) -> zx_status_t;
24}
25unsafe extern "C" {
26    pub fn restricted_symbols_get(
27        symbols: *mut restricted_symbols_t,
28        index: usize,
29    ) -> *const ::core::ffi::c_char;
30}
31unsafe extern "C" {
32    pub fn restricted_symbols_free(symbols: *mut restricted_symbols_t);
33}