diff --git a/third_party/f8/f8/app.cc b/third_party/f8/f8/app.cc index af48ce0..f845f2e 100644 --- a/third_party/f8/f8/app.cc +++ b/third_party/f8/f8/app.cc @@ -405,8 +405,26 @@ namespace f8 int seqid, const char *msgbody, int bodylen, - unsigned short tag, - std::any* user_data) + unsigned short tag) + { + impl_->AddSocketMsg(sockfrom, + socket_handle, + msgid, + seqid, + msgbody, + bodylen, + tag, + nullptr); + } + + void App::AddSocketMsgAndUserData(unsigned short sockfrom, + long long socket_handle, + int msgid, + int seqid, + const char *msgbody, + int bodylen, + unsigned short tag, + std::any* user_data) { impl_->AddSocketMsg(sockfrom, socket_handle, diff --git a/third_party/f8/f8/app.h b/third_party/f8/f8/app.h index 6b3bfdb..ef6a3e5 100644 --- a/third_party/f8/f8/app.h +++ b/third_party/f8/f8/app.h @@ -29,8 +29,15 @@ namespace f8 int seqid, const char *buf, int buflen, - unsigned short tag, - std::any* user_data); + unsigned short tag); + void AddSocketMsgAndUserData(unsigned short sockfrom, + long long socket_handle, + int msgid, + int seqid, + const char *buf, + int buflen, + unsigned short tag, + std::any* user_data); char** GetArgv(); int GetArgc(); long long GetMsgNodeSize();