S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
sopc_secure_channels_api.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
28#ifndef SOPC_SECURE_CHANNELS_API_H_
29#define SOPC_SECURE_CHANNELS_API_H_
30
31#include <stdint.h>
32
33#include "sopc_event_handler.h"
34
88
142
143/* Secure channel external event enqueue function
144 * IMPORTANT NOTE: internal events use will cause an assertion error */
146 uint32_t id,
147 uintptr_t params,
148 uintptr_t auxParam);
149
151
153
155
156#endif /* SOPC_SECURE_CHANNELS_API_H_ */
enum _SOPC_ReturnStatus SOPC_ReturnStatus
Common enumerations for S2OPC.
struct _SOPC_EventHandler SOPC_EventHandler
Processes messages from a queue.
Definition sopc_event_handler.h:35
void SOPC_SetListenerFunc(SOPC_EventHandler *handler)
Function prototype for connecting an event emitter to a listener.
Definition sopc_event_handler.h:59
void SOPC_SecureChannels_SetEventHandler(SOPC_EventHandler *handler)
SOPC_SecureChannels_OutputEvent
Secure channel output events to services layer.
Definition sopc_secure_channels_api.h:93
@ SC_REQUEST_TIMEOUT
Definition sopc_secure_channels_api.h:138
@ EP_REVERSE_CLOSED
Definition sopc_secure_channels_api.h:101
@ SC_SND_FAILURE
Definition sopc_secure_channels_api.h:133
@ SC_CONNECTION_TIMEOUT
Definition sopc_secure_channels_api.h:115
@ SC_CONNECTED
Definition sopc_secure_channels_api.h:105
@ EP_CONNECTED
Definition sopc_secure_channels_api.h:94
@ SC_DISCONNECTED
Definition sopc_secure_channels_api.h:119
@ SC_SERVICE_RCV_MSG
Definition sopc_secure_channels_api.h:125
@ SC_REVERSE_CONNECTED
Definition sopc_secure_channels_api.h:109
@ EP_CLOSED
Definition sopc_secure_channels_api.h:98
void SOPC_SecureChannels_Initialize(SOPC_SetListenerFunc *setSocketsListener)
SOPC_SecureChannels_InputEvent
Secure channel input events from services layer.
Definition sopc_secure_channels_api.h:39
@ SC_SERVICE_SND_ERR
Definition sopc_secure_channels_api.h:68
@ SC_SERVICE_SND_MSG
Definition sopc_secure_channels_api.h:62
@ SC_CONNECT
Definition sopc_secure_channels_api.h:51
@ EP_OPEN
Definition sopc_secure_channels_api.h:40
@ SCS_REEVALUATE_SCS
Definition sopc_secure_channels_api.h:79
@ REVERSE_EP_CLOSE
Definition sopc_secure_channels_api.h:49
@ EP_CLOSE
Definition sopc_secure_channels_api.h:43
@ SC_REVERSE_CONNECT
Definition sopc_secure_channels_api.h:54
@ SC_DISCONNECTED_ACK
Definition sopc_secure_channels_api.h:75
@ SC_DISCONNECT
Definition sopc_secure_channels_api.h:58
@ REVERSE_EP_OPEN
Definition sopc_secure_channels_api.h:46
void SOPC_SecureChannels_Clear(void)
SOPC_ReturnStatus SOPC_SecureChannels_EnqueueEvent(SOPC_SecureChannels_InputEvent scEvent, uint32_t id, uintptr_t params, uintptr_t auxParam)