1
This commit is contained in:
parent
e1ab21d022
commit
8e1aa6c19b
18
third_party/f8/f8/app.cc
vendored
18
third_party/f8/f8/app.cc
vendored
@ -400,6 +400,24 @@ namespace f8
|
|||||||
}
|
}
|
||||||
|
|
||||||
void App::AddSocketMsg(unsigned short sockfrom,
|
void App::AddSocketMsg(unsigned short sockfrom,
|
||||||
|
long long socket_handle,
|
||||||
|
int msgid,
|
||||||
|
int seqid,
|
||||||
|
const char *msgbody,
|
||||||
|
int bodylen,
|
||||||
|
unsigned short tag)
|
||||||
|
{
|
||||||
|
impl_->AddSocketMsg(sockfrom,
|
||||||
|
socket_handle,
|
||||||
|
msgid,
|
||||||
|
seqid,
|
||||||
|
msgbody,
|
||||||
|
bodylen,
|
||||||
|
tag,
|
||||||
|
nullptr);
|
||||||
|
}
|
||||||
|
|
||||||
|
void App::AddSocketMsgAndUserData(unsigned short sockfrom,
|
||||||
long long socket_handle,
|
long long socket_handle,
|
||||||
int msgid,
|
int msgid,
|
||||||
int seqid,
|
int seqid,
|
||||||
|
7
third_party/f8/f8/app.h
vendored
7
third_party/f8/f8/app.h
vendored
@ -24,6 +24,13 @@ namespace f8
|
|||||||
bool Terminated();
|
bool Terminated();
|
||||||
void Terminate();
|
void Terminate();
|
||||||
void AddSocketMsg(unsigned short sockfrom,
|
void AddSocketMsg(unsigned short sockfrom,
|
||||||
|
long long socket_handle,
|
||||||
|
int msgid,
|
||||||
|
int seqid,
|
||||||
|
const char *buf,
|
||||||
|
int buflen,
|
||||||
|
unsigned short tag);
|
||||||
|
void AddSocketMsgAndUserData(unsigned short sockfrom,
|
||||||
long long socket_handle,
|
long long socket_handle,
|
||||||
int msgid,
|
int msgid,
|
||||||
int seqid,
|
int seqid,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user