High Performance OPC UA Server SDK  1.2.0.193
custom_provider_store.h
/*****************************************************************************
* *
* Copyright (c) 2006-2016 Unified Automation GmbH. All rights reserved. *
* *
* Software License Agreement ("SLA") Version 2.6 *
* *
* Unless explicitly acquired and licensed from Licensor under another *
* license, the contents of this file are subject to the Software License *
* Agreement ("SLA") Version 2.6, or subsequent versions as allowed by the *
* SLA, and You may not copy or use this file in either source code or *
* executable form, except in compliance with the terms and conditions of *
* the SLA. *
* *
* All software distributed under the SLA is provided strictly on an "AS *
* IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, *
* AND LICENSOR HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT *
* LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR *
* PURPOSE, QUIET ENJOYMENT, OR NON-INFRINGEMENT. See the SLA for specific *
* language governing rights and limitations under the SLA. *
* *
* The complete license agreement can be found here: *
* http://unifiedautomation.com/License/SLA/2.6/ *
* *
*****************************************************************************/
#ifndef CUSTOM_PROVIDER_STORE_H
#define CUSTOM_PROVIDER_STORE_H
#include <stdint.h>
#include <stdbool.h>
#include <uabase/statuscode.h>
#include <uabase/datavalue.h>
#include <uabase/indexrange.h>
#include <uaserver/addressspace/addressspace.h>
int custom_store_set_initial_value(unsigned int idx, uint32_t value);
int custom_store_set_range(unsigned int idx, uint32_t low, uint32_t high);
void custom_store_get_value(
void *store,
ua_node_t node,
unsigned int idx,
bool source_ts,
struct ua_indexrange *range,
unsigned int num_ranges,
struct ua_datavalue *result);
ua_statuscode custom_store_attach_value(
void *store,
ua_node_t node,
unsigned int idx,
struct ua_indexrange *range,
unsigned int num_ranges,
struct ua_datavalue *value);
#endif /* CUSTOM_PROVIDER_STORE_H */