ua_network_tcp.h 578 B

12345678910111213141516171819202122232425
  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. #ifndef UA_NETWORK_TCP_H_
  4. #define UA_NETWORK_TCP_H_
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. #include "ua_server.h"
  9. #include "ua_client.h"
  10. UA_ServerNetworkLayer UA_EXPORT
  11. UA_ServerNetworkLayerTCP(UA_ConnectionConfig conf, UA_UInt16 port);
  12. UA_Connection UA_EXPORT
  13. UA_ClientConnectionTCP(UA_ConnectionConfig conf, const char *endpointUrl);
  14. #ifdef __cplusplus
  15. } // extern "C"
  16. #endif
  17. #endif /* UA_NETWORK_TCP_H_ */