From 9613f96e6a6f96ad02a0fc926054132811ae2bb1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 3 Apr 2018 16:30:25 +0300 Subject: Accounts() : iterator for accounts --- include/m_protocols.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_protocols.h b/include/m_protocols.h index e97e534faf..55b2b28cc0 100644 --- a/include/m_protocols.h +++ b/include/m_protocols.h @@ -263,7 +263,6 @@ EXTERN_C MIR_APP_DLL(int) Proto_IsProtoOnContact(MCONTACT hContact, const char * struct MIR_APP_EXPORT PROTOACCOUNT { - int cbSize; // sizeof this structure char* szModuleName; // unique physical account name (matches database module name) wchar_t* tszAccountName; // user-defined account name char* szProtoName; // physical protocol name @@ -293,6 +292,8 @@ struct MIR_APP_EXPORT PROTOACCOUNT EXTERN_C MIR_APP_DLL(void) Proto_EnumAccounts(int *nAccs, PROTOACCOUNT ***pAccs); +MIR_APP_DLL(LIST&) Accounts(void); + ///////////////////////////////////////////////////////////////////////////////////////// // creates new account // return value = PROTOACCOUNT* or NULL -- cgit v1.2.3