|
Embedded SDK
Embedded SDK
|
#include <stddef.h>#include <string.h>#include <stdbool.h>#include <stdint.h>
Go to the source code of this file.
Functions | |
| bool | swap_str_to_u64 (const uint8_t *src, size_t length, uint64_t *result) |
| bool | swap_parse_config (const uint8_t *config, uint8_t config_len, char *ticker, uint8_t ticker_buf_len, uint8_t *decimals) |
Variables | |
| volatile bool | G_called_from_swap |
| volatile bool | G_swap_response_ready |
| volatile uint8_t * | G_swap_signing_return_value_address |
| bool swap_parse_config | ( | const uint8_t * | config, |
| uint8_t | config_len, | ||
| char * | ticker, | ||
| uint8_t | ticker_buf_len, | ||
| uint8_t * | decimals | ||
| ) |
Definition at line 43 of file swap_utils.c.
| bool swap_str_to_u64 | ( | const uint8_t * | src, |
| size_t | length, | ||
| uint64_t * | result | ||
| ) |
Definition at line 29 of file swap_utils.c.
| volatile bool G_called_from_swap |
Set to true when the application is running as an Exchange library (swap mode).
Definition at line 23 of file swap_utils.c.
| volatile bool G_swap_response_ready |
Set to true by the coin application when the signing result is ready; causes io_send_response_buffers() to call os_lib_end() instead of returning.
Definition at line 24 of file swap_utils.c.
| volatile uint8_t* G_swap_signing_return_value_address |
Internal SDK pointer to the result field in create_transaction_parameters_t. Do not use in application code.
Definition at line 27 of file swap_utils.c.