ua_network_tcp.h 803 B

12345678910111213141516171819202122232425262728
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  4. /* This work is licensed under a Creative Commons CCZero 1.0 Universal License.
  5. * See http://creativecommons.org/publicdomain/zero/1.0/ for more information. */
  6. #ifndef UA_NETWORK_TCP_H_
  7. #define UA_NETWORK_TCP_H_
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. #include "ua_server.h"
  12. #include "ua_client.h"
  13. UA_ServerNetworkLayer UA_EXPORT
  14. UA_ServerNetworkLayerTCP(UA_ConnectionConfig conf, UA_UInt16 port);
  15. UA_Connection UA_EXPORT
  16. UA_ClientConnectionTCP(UA_ConnectionConfig conf, const char *endpointUrl, UA_Logger logger);
  17. #ifdef __cplusplus
  18. } // extern "C"
  19. #endif
  20. #endif /* UA_NETWORK_TCP_H_ */