summaryrefslogtreecommitdiff
path: root/include/delphi/m_protocols.inc
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-07 20:23:30 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-07 20:23:30 +0300
commit5811219420fdedef8941584ef70fec403d012e4e (patch)
tree2f5e90bbd69a6499923b6207e5c9df51588d0fb8 /include/delphi/m_protocols.inc
parentf60c78abfbd5f279b30de729046b805bba8e00b0 (diff)
Proto_GetAccount() for pascal plugins
Diffstat (limited to 'include/delphi/m_protocols.inc')
-rw-r--r--include/delphi/m_protocols.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/delphi/m_protocols.inc b/include/delphi/m_protocols.inc
index 76796c06ed..713bbb031a 100644
--- a/include/delphi/m_protocols.inc
+++ b/include/delphi/m_protocols.inc
@@ -281,6 +281,9 @@ const
function Proto_GetAccount(proto:PAnsiChar) : PPROTOACCOUNT; stdcall; external AppDLL;
+// retrieves protocol status
+function Proto_GetStatus(proto:PAnsiChar) : int; stdcall; external AppDLL;
+
(*
__inline PROTOACCOUNT* ProtoGetAccount( const AnsiChar* accName )
{ return (PROTOACCOUNT* )CallService( MS_PROTO_GETACCOUNT, 0, (LPARAM)accName );