1
This commit is contained in:
parent
e1ab21d022
commit
8e1aa6c19b
22
third_party/f8/f8/app.cc
vendored
22
third_party/f8/f8/app.cc
vendored
@ -405,8 +405,26 @@ namespace f8
|
|||||||
int seqid,
|
int seqid,
|
||||||
const char *msgbody,
|
const char *msgbody,
|
||||||
int bodylen,
|
int bodylen,
|
||||||
unsigned short tag,
|
unsigned short tag)
|
||||||
std::any* user_data)
|
{
|
||||||
|
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,
|
impl_->AddSocketMsg(sockfrom,
|
||||||
socket_handle,
|
socket_handle,
|
||||||
|
11
third_party/f8/f8/app.h
vendored
11
third_party/f8/f8/app.h
vendored
@ -29,8 +29,15 @@ namespace f8
|
|||||||
int seqid,
|
int seqid,
|
||||||
const char *buf,
|
const char *buf,
|
||||||
int buflen,
|
int buflen,
|
||||||
unsigned short tag,
|
unsigned short tag);
|
||||||
std::any* user_data);
|
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();
|
char** GetArgv();
|
||||||
int GetArgc();
|
int GetArgc();
|
||||||
long long GetMsgNodeSize();
|
long long GetMsgNodeSize();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user