testing_networklayers.h 527 B

1234567891011121314151617
  1. #ifndef TESTING_NETWORKLAYERS_H_
  2. #define TESTING_NETWORKLAYERS_H_
  3. #ifdef NOT_AMALGATED
  4. #include "ua_server.h"
  5. #else
  6. #include "open62541.h"
  7. #endif
  8. /** @brief Create the TCP networklayer and listen to the specified port */
  9. UA_ServerNetworkLayer
  10. ServerNetworkLayerFileInput_new(UA_UInt32 files, char **filenames, void(*readCallback)(void),
  11. void(*writeCallback) (void*, UA_ByteStringArray buf),
  12. void *callbackHandle);
  13. #endif /* TESTING_NETWORKLAYERS_H_ */