Azure SDK for Embedded C
az_precondition.h
Go to the documentation of this file.
1 // Copyright (c) Microsoft Corporation. All rights reserved.
2 // SPDX-License-Identifier: MIT
3 
34 #ifndef _az_PRECONDITION_H
35 #define _az_PRECONDITION_H
36 
37 #include <stdbool.h>
38 #include <stddef.h>
39 
40 #include <azure/core/az_span.h>
41 
42 #include <azure/core/_az_cfg_prefix.h>
43 
48 typedef void (*az_precondition_failed_fn)();
49 
60 void az_precondition_failed_set_callback(az_precondition_failed_fn az_precondition_failed_callback);
61 
62 #include <azure/core/_az_cfg_suffix.h>
63 
64 #endif // _az_PRECONDITION_H
az_precondition_failed_set_callback
void az_precondition_failed_set_callback(az_precondition_failed_fn az_precondition_failed_callback)
Allows your application to override the default behavior in response to an SDK function detecting an ...
az_span.h
An az_span represents a contiguous byte buffer and is used for string manipulations,...
az_precondition_failed_fn
void(* az_precondition_failed_fn)()
Defines the signature of the callback function that application developers can write in order to over...
Definition: az_precondition.h:48