S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
sopc_secure_channels_api_internal.h
Go to the documentation of this file.
1/*
2 * Licensed to Systerel under one or more contributor license
3 * agreements. See the NOTICE file distributed with this work
4 * for additional information regarding copyright ownership.
5 * Systerel licenses this file to you under the Apache
6 * License, Version 2.0 (the "License"); you may not use this
7 * file except in compliance with the License. You may obtain
8 * a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
20#ifndef SOPC_SECURE_CHANNELS_API_INTERNAL_H_
21#define SOPC_SECURE_CHANNELS_API_INTERNAL_H_
22
23#include <stdint.h>
25
26typedef enum
27{
28 /* SC listener manager -> SC connection manager */
29 INT_EP_SC_CREATE = 0x400,
54 /* SC connection manager -> SC listener manager */
78 /* OPC UA chunks message manager -> SC connection manager */
128 /* SC connection manager -> OPC UA chunks message manager */
155 /* SC connection manager -> SC connection manager */
164
165typedef enum
166{
167 /* SC connection manager */
188 /* SC listener manager */
193
194// Secure channel internal event enqueue function
196 uint32_t id,
197 uintptr_t params,
198 uintptr_t auxParam);
199
200/* Secure channel internal event enqueue function: event will be enqueued as next to be treated (only for close SC
201 * situation) Note: it is important to close the SC as soon as possible in order to avoid any treatment of new messages
202 * on a SC to be closed. */
204 uint32_t id,
205 uintptr_t params,
206 uintptr_t auxParam);
207
208#endif /* SOPC_SECURE_CHANNELS_API_INTERNAL_H_ */
Event oriented API of the Secure Channel layer.
void SOPC_SecureChannels_EnqueueInternalEventAsNext(SOPC_SecureChannels_InternalEvent event, uint32_t id, uintptr_t params, uintptr_t auxParam)
void SOPC_SecureChannels_EnqueueInternalEvent(SOPC_SecureChannels_InternalEvent event, uint32_t id, uintptr_t params, uintptr_t auxParam)
SOPC_SecureChannels_InternalEvent
Definition sopc_secure_channels_api_internal.h:27
@ INT_REVERSE_EP_REQ_CONNECTION
Definition sopc_secure_channels_api_internal.h:70
@ INT_SC_RCV_MSG_CHUNKS
Definition sopc_secure_channels_api_internal.h:105
@ INT_SC_RCV_CLO
Definition sopc_secure_channels_api_internal.h:98
@ INT_SC_CLOSE
Definition sopc_secure_channels_api_internal.h:156
@ INT_SC_RCV_FAILURE
Definition sopc_secure_channels_api_internal.h:113
@ INT_SC_RCV_ERR
Definition sopc_secure_channels_api_internal.h:87
@ INT_SC_SND_FATAL_FAILURE
Definition sopc_secure_channels_api_internal.h:118
@ INT_EP_SC_REVERSE_CONNECT
Definition sopc_secure_channels_api_internal.h:38
@ INT_EP_SC_CREATED
Definition sopc_secure_channels_api_internal.h:55
@ INT_SC_RCV_OPN
Definition sopc_secure_channels_api_internal.h:91
@ INT_SC_RCV_MSG_CHUNK_ABORT
Definition sopc_secure_channels_api_internal.h:110
@ INT_SC_SND_ERR
Definition sopc_secure_channels_api_internal.h:135
@ INT_EP_SC_RHE_DECODED
Definition sopc_secure_channels_api_internal.h:61
@ INT_EP_SC_CLOSE
Definition sopc_secure_channels_api_internal.h:34
@ INT_SC_SND_MSG_CHUNKS
Definition sopc_secure_channels_api_internal.h:150
@ INT_SC_SND_CLO
Definition sopc_secure_channels_api_internal.h:145
@ INT_EP_SC_CREATE
Definition sopc_secure_channels_api_internal.h:29
@ INT_SC_RCV_RHE_TRANSITION
Definition sopc_secure_channels_api_internal.h:48
@ INT_SC_RCV_HEL
Definition sopc_secure_channels_api_internal.h:79
@ INT_SC_SND_RHE
Definition sopc_secure_channels_api_internal.h:137
@ INT_SC_RCV_RHE
Definition sopc_secure_channels_api_internal.h:99
@ INT_SC_SND_ACK
Definition sopc_secure_channels_api_internal.h:133
@ INT_SC_RCV_ACK
Definition sopc_secure_channels_api_internal.h:82
@ INT_SC_SENT_ABORT_FAILURE
Definition sopc_secure_channels_api_internal.h:124
@ INT_SC_SND_OPN
Definition sopc_secure_channels_api_internal.h:139
@ INT_SC_SND_HEL
Definition sopc_secure_channels_api_internal.h:129
@ INT_EP_SC_DISCONNECTED
Definition sopc_secure_channels_api_internal.h:66
SOPC_SecureChannels_TimerEvent
Definition sopc_secure_channels_api_internal.h:166
@ TIMER_SC_CLIENT_OPN_RENEW
Definition sopc_secure_channels_api_internal.h:179
@ TIMER_SC_SERVER_REVERSE_CONN_RETRY
Definition sopc_secure_channels_api_internal.h:172
@ TIMER_SC_RHE_RECEPTION_TIMEOUT
Definition sopc_secure_channels_api_internal.h:189
@ TIMER_SC_REQUEST_TIMEOUT
Definition sopc_secure_channels_api_internal.h:182
@ TIMER_SC_CONNECTION_TIMEOUT
Definition sopc_secure_channels_api_internal.h:168