summaryrefslogtreecommitdiff
path: root/include/m_protocols.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_protocols.h')
-rw-r--r--include/m_protocols.h3
1 files changed, 2 insertions, 1 deletions
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<PROTOACCOUNT>&) Accounts(void);
+
/////////////////////////////////////////////////////////////////////////////////////////
// creates new account
// return value = PROTOACCOUNT* or NULL