mirror of
https://github.com/open62541/open62541.git
synced 2025-06-03 04:00:21 +00:00
26 lines
812 B
C
26 lines
812 B
C
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef TESTING_NETWORKLAYERS_H_
|
|
#define TESTING_NETWORKLAYERS_H_
|
|
|
|
#include <open62541/plugin/eventloop.h>
|
|
|
|
_UA_BEGIN_DECLS
|
|
|
|
/* If the pointer is non-null, every message sent via the test-ConnectionManager
|
|
* is copied to the variable */
|
|
extern UA_ByteString *testConnectionLastSentBuf;
|
|
|
|
extern UA_ConnectionManager testConnectionManagerTCP;
|
|
|
|
/* Network Manager which accepts a TCP connection and replays the incoming TCP
|
|
* packets from a pcap dump file */
|
|
UA_ConnectionManager *
|
|
ConnectionManage_replayPCAP(const char *pcap_file, UA_Boolean client);
|
|
|
|
_UA_END_DECLS
|
|
|
|
#endif /* TESTING_NETWORKLAYERS_H_ */
|