1 #pragma once
2 #include "osi/include/future.h"
3 #include "src/core/ffi/module.h"
4 #include "src/core/ffi/types.h"
5 #include "types/bluetooth/uuid.h"
6 #include "src/gatt/ffi/gatt_shim.h"
7 #include <cstdint>
8 #include <memory>
9 
10 enum class AddressTypeForFFI : ::std::uint8_t;
11 using future_t = ::future_t;
12 
13 #ifndef CXXBRIDGE1_ENUM_AddressTypeForFFI
14 #define CXXBRIDGE1_ENUM_AddressTypeForFFI
15 enum class AddressTypeForFFI : ::std::uint8_t {
16   Public = 0,
17   Random = 1,
18 };
19 #endif // CXXBRIDGE1_ENUM_AddressTypeForFFI
20 
21 namespace bluetooth {
22 namespace rust_shim {
23 void start(::std::unique_ptr<::bluetooth::gatt::GattServerCallbacks> gatt_server_callbacks, ::future_t &on_started) noexcept;
24 
25 void stop() noexcept;
26 } // namespace rust_shim
27 } // namespace bluetooth
28