From 25221b7d2afb70f82eb3805330fd39a6f6708049 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jun 2012 23:41:55 +0000 Subject: mk: removed all LIST_INTERFACE, MI_INTERFACE & UTF8_INTERFACE instances. all related functions moved to mir_core. git-svn-id: http://svn.miranda-ng.org/main/trunk@644 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Gadu-Gadu/gg.c | 8 -------- protocols/Gadu-Gadu/gg.h | 1 - protocols/Gadu-Gadu/oauth.c | 6 +++--- 3 files changed, 3 insertions(+), 12 deletions(-) (limited to 'protocols/Gadu-Gadu') diff --git a/protocols/Gadu-Gadu/gg.c b/protocols/Gadu-Gadu/gg.c index 6cb5abf554..778f62eeb1 100644 --- a/protocols/Gadu-Gadu/gg.c +++ b/protocols/Gadu-Gadu/gg.c @@ -43,10 +43,6 @@ static const MUUID interfaces[] = {MIID_PROTOCOL, MIID_LAST}; // Other variables HINSTANCE hInstance; PLUGINLINK *pluginLink; -struct MM_INTERFACE mmi; -struct SHA1_INTERFACE sha1i; -struct MD5_INTERFACE md5i; -struct LIST_INTERFACE li; XML_API xi; SSL_API si; CLIST_INTERFACE *pcli; @@ -572,10 +568,6 @@ int __declspec(dllexport) Load(PLUGINLINK * link) PROTOCOLDESCRIPTOR pd; pluginLink = link; - mir_getMMI(&mmi); - mir_getSHA1I(&sha1i); - mir_getMD5I(&md5i); - mir_getLI(&li); mir_getXI(&xi); mir_getLP(&pluginInfo); diff --git a/protocols/Gadu-Gadu/gg.h b/protocols/Gadu-Gadu/gg.h index 8ebfbd81a8..79abb3190e 100644 --- a/protocols/Gadu-Gadu/gg.h +++ b/protocols/Gadu-Gadu/gg.h @@ -356,7 +356,6 @@ typedef void (__cdecl GGThreadFunc)(void*, void*); extern HINSTANCE hInstance; extern PLUGINLINK *pluginLink; extern CLIST_INTERFACE *pcli; -extern struct LIST_INTERFACE li; extern list_t g_Instances; // Screen saver diff --git a/protocols/Gadu-Gadu/oauth.c b/protocols/Gadu-Gadu/oauth.c index 2c0631d655..15f9e592fe 100644 --- a/protocols/Gadu-Gadu/oauth.c +++ b/protocols/Gadu-Gadu/oauth.c @@ -204,7 +204,7 @@ void oauth_setparam(SortedList *params, const char *name, const char *value) p = mir_alloc(sizeof(OAUTHPARAMETER)); p->name = oauth_uri_escape(name); p->value = oauth_uri_escape(value); - li.List_InsertPtr(params, p); + List_InsertPtr(params, p); } void oauth_freeparams(SortedList *params) @@ -331,7 +331,7 @@ char *oauth_auth_header(const char *httpmethod, const char *url, OAUTHSIGNMETHOD if (oauth_sign_request(&oauth_parameters, httpmethod, url, consumer_secret, token_secret)) { oauth_freeparams(&oauth_parameters); - li.List_Destroy(&oauth_parameters); + List_Destroy(&oauth_parameters); return NULL; } @@ -355,7 +355,7 @@ char *oauth_auth_header(const char *httpmethod, const char *url, OAUTHSIGNMETHOD } oauth_freeparams(&oauth_parameters); - li.List_Destroy(&oauth_parameters); + List_Destroy(&oauth_parameters); return res; } -- cgit v1.2.3