S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
sopc_service_call_context.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
27#ifndef SOPC_SERVICE_CALL_CONTEXT_H_
28#define SOPC_SERVICE_CALL_CONTEXT_H_
29
31#include "sopc_enum_types.h"
32#include "sopc_user.h"
33
39
42
45
47const char* SOPC_CallContext_GetSecurityPolicy(const SOPC_CallContext* callContextPtr);
48
51
57
58#endif // SOPC_SERVICE_CALL_CONTEXT_H_
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
SOPC_AddressSpaceAccess * SOPC_CallContext_GetAddressSpaceAccess(const SOPC_CallContext *callContextPtr)
Get direct access to the address space. AddressSpace is only available during a method call and shall...
OpcUa_MessageSecurityMode SOPC_CallContext_GetSecurityMode(const SOPC_CallContext *callContextPtr)
Returns the security mode of the connection used to call the service.
uint32_t SOPC_CallContext_GetEndpointConfigIdx(const SOPC_CallContext *callContextPtr)
Returns the server endpoint of the connection used to call the service.
const SOPC_User * SOPC_CallContext_GetUser(const SOPC_CallContext *callContextPtr)
Returns the user that called the service.
const char * SOPC_CallContext_GetSecurityPolicy(const SOPC_CallContext *callContextPtr)
Returns the security policy of the connection used to call the service.
Defines the logged-in (server-side) user.
struct SOPC_User SOPC_User
Logged in (successfully) user structure.
Definition sopc_user.h:40
Definition app_cb_call_context_internal.h:28