RTI Connext DDS Micro  Version 2.4.8
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 Version 2.4.8 Copyright © Tue Apr 12 2016 Real-Time Innovations, Inc