summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/ExternalAPI/m_account.h10
-rw-r--r--plugins/ExternalAPI/m_protoplugin.h4
2 files changed, 7 insertions, 7 deletions
diff --git a/plugins/ExternalAPI/m_account.h b/plugins/ExternalAPI/m_account.h
index 2baadd2189..35c841d54a 100644
--- a/plugins/ExternalAPI/m_account.h
+++ b/plugins/ExternalAPI/m_account.h
@@ -77,15 +77,15 @@ typedef struct CServer
{
CServer(): Name(NULL),Login(NULL),Passwd(NULL) {}
- TCHAR *Name;
+ char *Name;
DWORD Port;
- TCHAR *Login;
+ char *Login;
// Password encryption definitions
#define STARTCODEPSW 0x50
#define ADDCODEPSW 0x0
- TCHAR *Passwd;
+ char *Passwd;
} *PSERVER;
@@ -104,7 +104,7 @@ typedef struct CAccount
struct CYAMNProtoPlugin *Plugin; //free access, because this member should not be changed. The same as YAMN_PLUGIN structure
- TCHAR *Name; //access only through AccountAccessSO
+ char *Name; //access only through AccountAccessSO
// DWORD Abilities; //access only through AccountAccessSO
@@ -154,7 +154,7 @@ typedef struct CAccount
SYSTEMTIME LastSynchronised; //last synchronisation (successfull), access only through AccountAccessSO
SYSTEMTIME LastMail; //last check when new mail detected, access only through AccountAccessSO
- char Status[255]; //access only through GetStatusFcn() and SetStatusFcn() functions
+ TCHAR Status[255]; //access only through GetStatusFcn() and SetStatusFcn() functions
DWORD TimeLeft; //access only through AccountAccessSO
diff --git a/plugins/ExternalAPI/m_protoplugin.h b/plugins/ExternalAPI/m_protoplugin.h
index ae5dd0f5ab..0136c28f21 100644
--- a/plugins/ExternalAPI/m_protoplugin.h
+++ b/plugins/ExternalAPI/m_protoplugin.h
@@ -65,7 +65,7 @@ typedef HACCOUNT (WINAPI *YAMN_NEWACCOUNTFCN)(struct CYAMNProtoPlugin *,DWORD);
typedef void (WINAPI *YAMN_STOPACCOUNTFCN)(HACCOUNT);
typedef void (WINAPI *YAMN_DELETEACCOUNTFCN)(HACCOUNT);
typedef DWORD (WINAPI *YAMN_WRITEPLUGINOPTS)(HANDLE File,HACCOUNT);
-typedef DWORD (WINAPI *YAMN_READPLUGINOPTS)(HACCOUNT,TCHAR **,TCHAR *);
+typedef DWORD (WINAPI *YAMN_READPLUGINOPTS)(HACCOUNT,char **,char *);
typedef DWORD (WINAPI *YAMN_CHECKFCN)(struct CheckParam *);
typedef DWORD (WINAPI *YAMN_DELETEFCN)(struct DeleteParam *);
typedef WCHAR* (WINAPI *YAMN_GETERRORSTRINGWFCN)(DWORD);
@@ -148,7 +148,7 @@ typedef struct CAccountImportFcn
typedef HYAMNMAIL (WINAPI *YAMN_NEWMAILFCN)(HACCOUNT,DWORD);
typedef void (WINAPI *YAMN_DELETEMAILFCN)(HYAMNMAIL);
typedef DWORD (WINAPI *YAMN_WRITEMAILOPTS)(HANDLE File,HYAMNMAIL);
-typedef DWORD (WINAPI *YAMN_READMAILOPTS)(HYAMNMAIL,TCHAR **,TCHAR *);
+typedef DWORD (WINAPI *YAMN_READMAILOPTS)(HYAMNMAIL,char **,char *);
typedef struct CMailImportFcn
{