Set data receive interface for test

This commit is contained in:
dijunkun
2023-08-24 15:09:20 +08:00
parent 28560cbac3
commit 36f4367c79
8 changed files with 52 additions and 25 deletions

View File

@@ -12,8 +12,7 @@ extern "C" {
typedef struct Peer PeerPtr;
typedef void (*OnReceiveBuffer)(unsigned char*, size_t, const char*,
const size_t);
typedef void (*OnReceiveBuffer)(const char*, size_t, const char*, size_t);
typedef void (*NetStatusReport)(const unsigned short, const unsigned short);