S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
app_cb_call_context_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 _app_cb_call_context_internal_h
21#define _app_cb_call_context_internal_h
22
23#include "sopc_user_app_itf.h"
24
25/* Since we will need to copy it for asynchronous events provided to application code,
26 * we should avoid to store structures needing allocation.*/
28{
29 bool isCopy;
30
31 uint32_t secureChannelConfigIdx; // Only valid for client side
32 uint32_t endpointConfigIdx; // Only valid for server side
34 const char* secuPolicyUri;
36
38
39 uintptr_t auxParam; // Used to store initial auxParam in application events (it will be replaced by call context)
40};
41
43
45
47
48#endif
void SOPC_CallContext_Free(SOPC_CallContext *cc)
SOPC_CallContext * SOPC_CallContext_Copy(const SOPC_CallContext *cc)
const SOPC_CallContext * SOPC_CallContext_GetCurrent(void)
struct _SOPC_AddressSpaceAccess SOPC_AddressSpaceAccess
AddressSpace Access module provides controlled access to address space. This might be used to access ...
Definition sopc_address_space_access.h:40
enum _OpcUa_MessageSecurityMode OpcUa_MessageSecurityMode
struct SOPC_User SOPC_User
Logged in (successfully) user structure.
Definition sopc_user.h:40
Contains the types to be used by the user application to use the Toolkit.
Definition app_cb_call_context_internal.h:28
const SOPC_User * user
Definition app_cb_call_context_internal.h:35
uint32_t secureChannelConfigIdx
Definition app_cb_call_context_internal.h:31
OpcUa_MessageSecurityMode msgSecurityMode
Definition app_cb_call_context_internal.h:33
SOPC_AddressSpaceAccess * addressSpaceForMethodCall
Definition app_cb_call_context_internal.h:37
bool isCopy
Definition app_cb_call_context_internal.h:29
uintptr_t auxParam
Definition app_cb_call_context_internal.h:39
const char * secuPolicyUri
Definition app_cb_call_context_internal.h:34
uint32_t endpointConfigIdx
Definition app_cb_call_context_internal.h:32