Allow to forward declare of public structs #1215
Thanks to forward declare we can declare `struct` in our header file instead making #include
This commit is contained in:
parent
7d728bd70e
commit
428cc52a73
42 changed files with 60 additions and 52 deletions
|
@ -44,7 +44,7 @@ extern "C" {
|
|||
/**
|
||||
* \brief Information for session ticket protection
|
||||
*/
|
||||
typedef struct
|
||||
typedef struct mbedtls_ssl_ticket_key
|
||||
{
|
||||
unsigned char name[4]; /*!< random key identifier */
|
||||
uint32_t generation_time; /*!< key generation timestamp (seconds) */
|
||||
|
@ -55,7 +55,7 @@ mbedtls_ssl_ticket_key;
|
|||
/**
|
||||
* \brief Context for session ticket handling functions
|
||||
*/
|
||||
typedef struct
|
||||
typedef struct mbedtls_ssl_ticket_context
|
||||
{
|
||||
mbedtls_ssl_ticket_key keys[2]; /*!< ticket protection keys */
|
||||
unsigned char active; /*!< index of the currently active key */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue