summaryrefslogtreecommitdiff
path: root/!NotAdopted/IMO2sProxy/src/imo2skype/avatarlist.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-07-23 13:52:57 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-07-23 13:52:57 +0000
commit89c5b2369413025e1fe7dfe5c5d0bf3bedd8558d (patch)
tree18f09394ce3b811e3df7d15de747e842000bd4ad /!NotAdopted/IMO2sProxy/src/imo2skype/avatarlist.h
parenta9580df150d799246eaecbf3c1fb5cecf9f8ab49 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1123 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to '!NotAdopted/IMO2sProxy/src/imo2skype/avatarlist.h')
-rw-r--r--!NotAdopted/IMO2sProxy/src/imo2skype/avatarlist.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/!NotAdopted/IMO2sProxy/src/imo2skype/avatarlist.h b/!NotAdopted/IMO2sProxy/src/imo2skype/avatarlist.h
new file mode 100644
index 0000000000..6a47ed2fa5
--- /dev/null
+++ b/!NotAdopted/IMO2sProxy/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);