This repository has been archived by the owner on Aug 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cbindgen.toml
43 lines (38 loc) · 1.57 KB
/
cbindgen.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
language = "C"
tab_width = 4
include_guard = "spotflow_SDK_H"
autogen_warning = "/* This file is autogenerated. Don't modify it manually. */"
sys_includes = ["stdbool.h", "stdint.h"]
no_includes = true
after_includes = """
/**
* Device SDK for Spotflow IoT Platform
*
* Version: 2.1.1
* Documentation: https://docs.spotflow.io/device-sdk/c/
*/
/**
* A client communicating with the Platform. This object is managed by the Device SDK. Create its instance
* using @ref spotflow_client_start and delete it using @ref spotflow_client_destroy.
*
* The client stores all outgoing communication to the local database file and then sends it in a
* background thread asynchronously. Thanks to that, it works even when the connection is unreliable.
* Similarly, the client also stores all ingoing communication to the local database file and deletes it
* only after the application processes it.
*/
typedef struct spotflow_client_t spotflow_client_t;"""
[export.rename]
CResult = "spotflow_result_t"
LogLevel = "spotflow_log_level_t"
DeviceClient = "spotflow_client_t"
ClientOptions = "spotflow_client_options_t"
Compression = "spotflow_compression_t"
MessageContext = "spotflow_message_context_t"
ProvisioningOperation = "spotflow_provisioning_operation_t"
DisplayProvisioningOperationCallback = "spotflow_display_provisioning_operation_callback_t"
DesiredPropertiesUpdatedCallback = "spotflow_desired_properties_updated_callback_t"
C2dCallback = "spotflow_c2d_callback_t"
C2dMessage = "spotflow_c2d_message_t"
C2dProperty = "spotflow_c2d_property_t"
[enum]
rename_variants = "ScreamingSnakeCase"