Merge pull request #11965 from pokgak/credman-add-credential-type-docs

credman: add documentation for enum credman_type_t
This commit is contained in:
Martine Lenders 2019-08-07 16:33:03 +02:00 committed by GitHub
commit a06b84dbcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,9 +90,14 @@ typedef uint16_t credman_tag_t;
* @brief Credential types
*/
typedef enum {
/**
* @brief Empty type
*
* Used to detect uninitialized @ref credman_credential_t internally.
*/
CREDMAN_TYPE_EMPTY = 0,
CREDMAN_TYPE_PSK = 1,
CREDMAN_TYPE_ECDSA = 2,
CREDMAN_TYPE_PSK = 1, /**< PSK credential type */
CREDMAN_TYPE_ECDSA = 2, /**< ECDSA credential type */
} credman_type_t;
/**