Files
open62541/tests/testing_networklayers.h

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_ */