123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- #ifndef UA_SERVER_CONFIG_H_
- #define UA_SERVER_CONFIG_H_
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include "ua_server.h"
- #include "ua_plugin_log.h"
- #include "ua_plugin_network.h"
- #include "ua_plugin_access_control.h"
- #include "ua_plugin_securitypolicy.h"
- #include "ua_plugin_nodestore.h"
- typedef struct {
- UA_UInt32 min;
- UA_UInt32 max;
- } UA_UInt32Range;
- typedef struct {
- UA_Duration min;
- UA_Duration max;
- } UA_DurationRange;
- struct UA_ServerConfig {
- UA_UInt16 nThreads;
- UA_Logger logger;
-
- UA_BuildInfo buildInfo;
- UA_ApplicationDescription applicationDescription;
- UA_ByteString serverCertificate;
- #ifdef UA_ENABLE_DISCOVERY
- UA_String mdnsServerName;
- size_t serverCapabilitiesSize;
- UA_String *serverCapabilities;
- #endif
-
- size_t customDataTypesSize;
- UA_DataType *customDataTypes;
-
- UA_Nodestore nodestore;
-
- size_t networkLayersSize;
- UA_ServerNetworkLayer *networkLayers;
-
- size_t endpointsSize;
- UA_Endpoint *endpoints;
-
- UA_GlobalNodeLifecycle nodeLifecycle;
-
- UA_AccessControl accessControl;
-
- UA_UInt16 maxSecureChannels;
- UA_UInt32 maxSecurityTokenLifetime;
-
- UA_UInt16 maxSessions;
- UA_Double maxSessionTimeout;
-
- UA_DurationRange publishingIntervalLimits;
- UA_UInt32Range lifeTimeCountLimits;
- UA_UInt32Range keepAliveCountLimits;
- UA_UInt32 maxNotificationsPerPublish;
- UA_UInt32 maxRetransmissionQueueSize;
-
- UA_DurationRange samplingIntervalLimits;
- UA_UInt32Range queueSizeLimits;
-
- #ifdef UA_ENABLE_DISCOVERY
-
- UA_UInt32 discoveryCleanupTimeout;
- #endif
- };
- #ifdef __cplusplus
- }
- #endif
- #endif
|