123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #ifndef UA_CONFIG_DEFAULT_H_
- #define UA_CONFIG_DEFAULT_H_
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include "ua_server.h"
- #include "ua_server_config.h"
- #include "ua_client.h"
- extern const UA_EXPORT UA_ConnectionConfig UA_ConnectionConfig_default;
- UA_EXPORT UA_ServerConfig *
- UA_ServerConfig_new_minimal(UA_UInt16 portNumber,
- const UA_ByteString *certificate);
- static UA_INLINE UA_ServerConfig *
- UA_ServerConfig_new_default(void) {
- return UA_ServerConfig_new_minimal(4840, NULL);
- }
- UA_EXPORT void
- UA_ServerConfig_delete(UA_ServerConfig *config);
- extern const UA_EXPORT UA_ClientConfig UA_ClientConfig_default;
- #ifdef __cplusplus
- }
- #endif
- #endif
|