Libtrap: Internal development docs  1.16.1
Macros
Negotiation return values

Macros

#define NEG_RES_CONT   111
 If the data format and data specifier of input and output interface are the same (input interface can receive the data for module right after the negotiation) More...
 
#define NEG_RES_RECEIVER_FMT_SUBSET   112
 If the data format of input and output interfaces is the same and data specifier of the input interface is subset of the output interface data specifier. More...
 
#define NEG_RES_SENDER_FMT_SUBSET   116
 If the data format of input and output interfaces is the same and new data specifier of the output interface is subset of the old one (it is not first negotiation) More...
 
#define NEG_RES_FMT_MISMATCH   113
 If the data format or data specifier of input and output interfaces does not match. More...
 
#define NEG_RES_FMT_CHANGED   117
 If the data format has changed (for JSON type, UNIREC type uses *SUBSET variants) More...
 
#define NEG_RES_OK   116
 Signaling success (hello message successfully sent to input interface) More...
 
#define NEG_RES_FAILED   114
 If receiving the data from output interface fails or sending the data to input interface fails. More...
 
#define NEG_RES_FMT_UNKNOWN   115
 If the output interface has not specified data format. More...
 

Detailed Description

Macro Definition Documentation

◆ NEG_RES_CONT

#define NEG_RES_CONT   111

If the data format and data specifier of input and output interface are the same (input interface can receive the data for module right after the negotiation)

Definition at line 74 of file trap_internal.h.

◆ NEG_RES_FAILED

#define NEG_RES_FAILED   114

If receiving the data from output interface fails or sending the data to input interface fails.

Definition at line 84 of file trap_internal.h.

◆ NEG_RES_FMT_CHANGED

#define NEG_RES_FMT_CHANGED   117

If the data format has changed (for JSON type, UNIREC type uses *SUBSET variants)

Definition at line 78 of file trap_internal.h.

◆ NEG_RES_FMT_MISMATCH

#define NEG_RES_FMT_MISMATCH   113

If the data format or data specifier of input and output interfaces does not match.

Definition at line 77 of file trap_internal.h.

◆ NEG_RES_FMT_UNKNOWN

#define NEG_RES_FMT_UNKNOWN   115

If the output interface has not specified data format.

Definition at line 85 of file trap_internal.h.

◆ NEG_RES_OK

#define NEG_RES_OK   116

Signaling success (hello message successfully sent to input interface)

Definition at line 81 of file trap_internal.h.

◆ NEG_RES_RECEIVER_FMT_SUBSET

#define NEG_RES_RECEIVER_FMT_SUBSET   112

If the data format of input and output interfaces is the same and data specifier of the input interface is subset of the output interface data specifier.

Definition at line 75 of file trap_internal.h.

◆ NEG_RES_SENDER_FMT_SUBSET

#define NEG_RES_SENDER_FMT_SUBSET   116

If the data format of input and output interfaces is the same and new data specifier of the output interface is subset of the old one (it is not first negotiation)

Definition at line 76 of file trap_internal.h.