networklayer_tcp.h 603 B

123456789101112131415161718192021222324252627
  1. /*
  2. * This work is licensed under a Creative Commons CCZero 1.0 Universal License.
  3. * See http://creativecommons.org/publicdomain/zero/1.0/ for more information.
  4. */
  5. #ifndef NETWORKLAYERTCP_H_
  6. #define NETWORKLAYERTCP_H_
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. #include "ua_server.h"
  11. #include "ua_client.h"
  12. UA_ServerNetworkLayer UA_EXPORT
  13. UA_ServerNetworkLayerTCP(UA_ConnectionConfig conf, UA_UInt16 port);
  14. UA_Connection UA_EXPORT
  15. UA_ClientConnectionTCP(UA_ConnectionConfig conf, const char *endpointUrl, UA_Logger logger);
  16. #ifdef __cplusplus
  17. } // extern "C"
  18. #endif
  19. #endif /* NETWORKLAYERTCP_H_ */