summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/avatarlist.h
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-06-20 10:48:24 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-06-20 10:48:24 +0000
commitdc5db1caccc4d8d6a18f7a0aa86b5dc8405b74f8 (patch)
tree50268943d9ad95f801a9536ec80a7e49e8c2ced9 /plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/avatarlist.h
parent802b7df7fb68ccad66eb9b069521a8369eebe6dc (diff)
test
git-svn-id: http://svn.miranda-ng.org/main/trunk@5061 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/avatarlist.h')
-rw-r--r--plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/avatarlist.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/avatarlist.h b/plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/avatarlist.h
new file mode 100644
index 0000000000..6a47ed2fa5
--- /dev/null
+++ b/plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/avatarlist.h
@@ -0,0 +1,16 @@
+#include "cJSON.h"
+#include "memlist.h"
+
+typedef struct
+{
+ char *pszUser;
+ char *pszIcon;
+} AVATARENTRY;
+
+TYP_LIST *AvatarList_Init(void);
+void AvatarList_Exit(TYP_LIST *hList);
+
+BOOL AvatarList_Insert(TYP_LIST *hList, cJSON *pIcon);
+BOOL AvatarList_Remove(TYP_LIST *hList, AVATARENTRY *pEntry);
+AVATARENTRY *AvatarList_Find(TYP_LIST *hList, char *pszUser);
+void AvatarList_FreeEntry(AVATARENTRY *pEntry);