Noise-C
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
Macros
HandshakeState action codes

Macros

#define NOISE_ACTION_COMPLETE   NOISE_ID('A', 5)
 The HandshakeState has flagged that the handshake is over and and that noise_handshake_split() has been called to begin data session communications. More...
 
#define NOISE_ACTION_FAILED   NOISE_ID('A', 3)
 The HandshakeState has flagged that the handshake has failed due to some kind of error. More...
 
#define NOISE_ACTION_NONE   0
 No action is required of the application yet because the handshake has not started. More...
 
#define NOISE_ACTION_READ_MESSAGE   NOISE_ID('A', 2)
 The HandshakeState expects the application to read the next message payload from the handshake. More...
 
#define NOISE_ACTION_SPLIT   NOISE_ID('A', 4)
 The HandshakeState has flagged that the handshake is over and that the application is expected to call noise_handshake_split() and begin data session communications. More...
 
#define NOISE_ACTION_WRITE_MESSAGE   NOISE_ID('A', 1)
 The HandshakeState expects the application to write the next message payload for the handshake. More...
 

Detailed Description

Macro Definition Documentation

#define NOISE_ACTION_COMPLETE   NOISE_ID('A', 5)

The HandshakeState has flagged that the handshake is over and and that noise_handshake_split() has been called to begin data session communications.

#define NOISE_ACTION_FAILED   NOISE_ID('A', 3)

The HandshakeState has flagged that the handshake has failed due to some kind of error.

#define NOISE_ACTION_NONE   0

No action is required of the application yet because the handshake has not started.

#define NOISE_ACTION_READ_MESSAGE   NOISE_ID('A', 2)

The HandshakeState expects the application to read the next message payload from the handshake.

#define NOISE_ACTION_SPLIT   NOISE_ID('A', 4)

The HandshakeState has flagged that the handshake is over and that the application is expected to call noise_handshake_split() and begin data session communications.

#define NOISE_ACTION_WRITE_MESSAGE   NOISE_ID('A', 1)

The HandshakeState expects the application to write the next message payload for the handshake.