summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/IMO2sProxy/src/imo2skype/avatarlist.h
blob: 6a47ed2fa576db10ef9317b808c1b04f19081caa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);