CTaps 0.3.0
A C implementation of the Transport Services API (RFC 9621 - 9623)
Loading...
Searching...
No Matches
Message Properties

Properties for configuring individual message transmission. More...

Data Structures

struct  ct_message_properties_t
 Collection of message properties for per-message transmission control. More...
 

Macros

#define CT_MESSAGE_CHECKSUM_FULL_COVERAGE   UINT32_MAX
 Special value: Full checksum coverage for individual message.
 

Functions

ct_message_properties_tct_message_properties_new (void)
 Create a new message properties object with default values.
 
void ct_message_properties_free (ct_message_properties_t *message_properties)
 Free resources in message properties.
 

Detailed Description

Properties for configuring individual message transmission.

Macro Definition Documentation

◆ CT_MESSAGE_CHECKSUM_FULL_COVERAGE

#define CT_MESSAGE_CHECKSUM_FULL_COVERAGE   UINT32_MAX

Special value: Full checksum coverage for individual message.

Definition at line 436 of file ctaps.h.

Function Documentation

◆ ct_message_properties_free()

void ct_message_properties_free ( ct_message_properties_t message_properties)

Free resources in message properties.

Parameters
[in]message_propertiesstructure to free

◆ ct_message_properties_new()

ct_message_properties_t * ct_message_properties_new ( void  )

Create a new message properties object with default values.

Allocates and initializes a new message properties object on the heap. The returned object must be freed with ct_message_properties_free().

Returns
Pointer to newly allocated message properties, or NULL on allocation failure.