ANSI C Based OPC UA Client/Server/PubSub SDK  1.9.1.442
custom_provider.h
/*****************************************************************************
* *
* Copyright (c) 2006-2020 Unified Automation GmbH. All rights reserved. *
* *
* Software License Agreement ("SLA") Version 2.7 *
* *
* 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.7, 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.7/ *
* *
* Project: Unified Automation ANSI C based OPC UA Server SDK *
* *
*****************************************************************************/
#ifndef _CUSTOM_PROVIDER_H_
#define _CUSTOM_PROVIDER_H_ 1
#include <uaserver_config.h>
#include <uaserver_providers.h>
#if defined(_UA_CUSTOMPROVIDER_BUILD_DLL)
# define CUSTOMPROVIDER_API(rtype) UAPROVIDER_P_EXPORT(rtype)
#else
# define CUSTOMPROVIDER_API(rtype) UAPROVIDER_P_IMPORT(rtype)
#endif
OPCUA_BEGIN_EXTERN_C
#ifdef BUILD_SHARED_LIBS
CUSTOMPROVIDER_API(OpcUa_StatusCode) InitializeProvider(UaServer_Provider* pProvider,
UaServer_pProviderInterface* pProviderInterface);
#endif
/*============================================================================
* Initialization Function
*===========================================================================*/
IFMETHODIMP(CustomProvider_Initialize)(UaServer_Provider *pProvider,
UaServer_pProviderInterface *pProviderInterface);
OPCUA_END_EXTERN_C
#endif /* _CUSTOM_PROVIDER_H_ */