mirror of
https://github.com/open62541/open62541.git
synced 2026-10-26 02:20:27 +08:00
17 lines
527 B
C
17 lines
527 B
C
#ifndef TESTING_NETWORKLAYERS_H_
|
|
#define TESTING_NETWORKLAYERS_H_
|
|
|
|
#ifdef NOT_AMALGATED
|
|
# include "ua_server.h"
|
|
#else
|
|
# include "open62541.h"
|
|
#endif
|
|
|
|
/** @brief Create the TCP networklayer and listen to the specified port */
|
|
UA_ServerNetworkLayer
|
|
ServerNetworkLayerFileInput_new(UA_UInt32 files, char **filenames, void(*readCallback)(void),
|
|
UA_StatusCode (*writeCallback) (void*, UA_ByteString *buf),
|
|
void *callbackHandle);
|
|
|
|
#endif /* TESTING_NETWORKLAYERS_H_ */
|