ua_network_tcp.h 997 B

123456789101112131415161718192021222324252627282930313233
  1. /* This work is licensed under a Creative Commons CCZero 1.0 Universal License.
  2. * See http://creativecommons.org/publicdomain/zero/1.0/ for more information.
  3. *
  4. * Copyright 2016 (c) Fraunhofer IOSB (Author: Julius Pfrommer)
  5. */
  6. #ifndef UA_NETWORK_TCP_H_
  7. #define UA_NETWORK_TCP_H_
  8. #include <open62541/client.h>
  9. #include <open62541/plugin/log.h>
  10. #include <open62541/server.h>
  11. _UA_BEGIN_DECLS
  12. UA_ServerNetworkLayer UA_EXPORT
  13. UA_ServerNetworkLayerTCP(UA_ConnectionConfig config, UA_UInt16 port, UA_Logger *logger);
  14. UA_Connection UA_EXPORT
  15. UA_ClientConnectionTCP(UA_ConnectionConfig config, const UA_String endpointUrl,
  16. UA_UInt32 timeout, UA_Logger *logger);
  17. UA_StatusCode UA_EXPORT
  18. UA_ClientConnectionTCP_poll(UA_Client *client, void *data);
  19. UA_Connection UA_EXPORT
  20. UA_ClientConnectionTCP_init(UA_ConnectionConfig config, const UA_String endpointUrl,
  21. UA_UInt32 timeout, UA_Logger *logger);
  22. _UA_END_DECLS
  23. #endif /* UA_NETWORK_TCP_H_ */