RTI Connext DDS Micro C API  Version 2.4.14
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Sequence Number Support

Sequence number type and defines. More...

Data Structures

struct  DDS_SequenceNumber_t
 Type for sequence number representation. More...

Functions

int DDS_SequenceNumber_compare (const struct DDS_SequenceNumber_t *sn1, const struct DDS_SequenceNumber_t *sn2)
 Compares two sequence numbers.

Detailed Description

Sequence number type and defines.


Function Documentation

int DDS_SequenceNumber_compare ( const struct DDS_SequenceNumber_t sn1,
const struct DDS_SequenceNumber_t sn2 
)

Compares two sequence numbers.

Parameters:
sn1<<in>> Sequence number to compare. Cannot be NULL.
sn2<<in>> Sequence number to compare. Cannot be NULL.
Returns:
If the two sequence numbers are equal, the function returns 0. If sn1 is greater than sn2 the function returns a positive number; otherwise, it returns a negative number.

RTI Connext DDS Micro C API Version 2.4.14 Copyright © Mon Apr 12 2021 Real-Time Innovations, Inc