summaryrefslogtreecommitdiff
path: root/include/m_protosvc.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-19 14:24:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-19 14:24:12 +0000
commit83310365c69bd40365ee0ae0e16c99c28e24cd0b (patch)
tree10ac18bfdc3fcf0fd62a5aba3ccb5dedffa2e410 /include/m_protosvc.h
parentd68cd04d6f7b997692476b531bdc30f546a50efd (diff)
- all static protocol services replaced with functions;
- m_protomod.h removed as useless git-svn-id: http://svn.miranda-ng.org/main/trunk@14260 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_protosvc.h')
-rw-r--r--include/m_protosvc.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/m_protosvc.h b/include/m_protosvc.h
index b4de5bff4d..510f361364 100644
--- a/include/m_protosvc.h
+++ b/include/m_protosvc.h
@@ -794,6 +794,12 @@ __forceinline INT_PTR Proto_RecvMessage(MCONTACT hContact, PROTORECVEVENT *pcre)
return CallService(MS_PROTO_RECVMSG, 0, (LPARAM)&ccs);
}
+__forceinline INT_PTR ProtoChainRecvMsg(MCONTACT hContact, PROTORECVEVENT *pre)
+{
+ CCSDATA ccs = { hContact, PSR_MESSAGE, 0, (LPARAM)pre };
+ return Proto_ChainRecv(0, &ccs);
+}
+
///////////////////////////////////////////////////////////////////////////////
// Proto/AuthRecv
// Copies the EVENTTYPE_AUTHREQUEST event from PROTORECVEVENT into DBEVENTINFO and adds it
@@ -840,6 +846,12 @@ __forceinline INT_PTR Proto_RecvFile(MCONTACT hContact, PROTORECVFILET *pcre)
return CallService(MS_PROTO_RECVFILET, 0, (LPARAM)&ccs);
}
+__forceinline INT_PTR ProtoChainRecvFile(MCONTACT hContact, PROTORECVFILET *pre)
+{
+ CCSDATA ccs = { hContact, PSR_FILE, 0, (LPARAM)pre };
+ return Proto_ChainRecv(0, &ccs);
+}
+
///////////////////////////////////////////////////////////////////////////////
// An URL has been received
// wParam = 0