mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 20:48:19 +00:00
Document status/error codes in helper.function
This commit is contained in:
parent
951a2c8898
commit
62a5d7d65a
1 changed files with 13 additions and 9 deletions
|
@ -49,17 +49,21 @@ typedef struct HexParam_tag
|
|||
} HexParam_t;
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Constants */
|
||||
/* Status and error constants */
|
||||
|
||||
#define DEPENDENCY_SUPPORTED 0
|
||||
#define KEY_VALUE_MAPPING_FOUND 0
|
||||
#define DISPATCH_TEST_SUCCESS 0
|
||||
#define DEPENDENCY_SUPPORTED 0 /* Dependency supported by build */
|
||||
#define KEY_VALUE_MAPPING_FOUND 0 /* Integer expression found */
|
||||
#define DISPATCH_TEST_SUCCESS 0 /* Test dispatch successful */
|
||||
|
||||
#define KEY_VALUE_MAPPING_NOT_FOUND -1
|
||||
#define DEPENDENCY_NOT_SUPPORTED -2
|
||||
#define DISPATCH_TEST_FN_NOT_FOUND -3
|
||||
#define DISPATCH_INVALID_TEST_DATA -4
|
||||
#define DISPATCH_UNSUPPORTED_SUITE -5
|
||||
#define KEY_VALUE_MAPPING_NOT_FOUND -1 /* Integer expression not found */
|
||||
#define DEPENDENCY_NOT_SUPPORTED -2 /* Dependency not supported */
|
||||
#define DISPATCH_TEST_FN_NOT_FOUND -3 /* Test function not found */
|
||||
#define DISPATCH_INVALID_TEST_DATA -4 /* Invalid test parameter type.
|
||||
Only int, string, binary data
|
||||
and integer expressions are
|
||||
allowed */
|
||||
#define DISPATCH_UNSUPPORTED_SUITE -5 /* Test suite not supported by the
|
||||
build */
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in a new issue