#ifndef _CONTENT_MANAGEMENT_H_
#define _CONTENT_MANAGEMENT_H_

#include "Content.h"

#define CKG_CM_CATEGORY_NAME_LEN 64

typedef struct CKG_CM_ItemList
{
    struct CKG_CM_ItemList  *prev;
    struct CKG_CM_ItemList  *next;
    CKG_CM_Item             item;
} CKG_CM_ItemList;

typedef struct CKG_CM_ContentCategory
{
    char                categoryName[CKG_CM_CATEGORY_NAME_LEN];
    CKG_CM_ItemList     *itemList;
} CKG_CM_ContentCategory;

typedef struct CKG_CM_ContentCategoryList
{
    struct CKG_CM_ContentCategoryList   *prev;
    struct CKG_CM_ContentCategoryList   *next;
    char                                categoryName[CKG_CM_CATEGORY_NAME_LEN];
} CKG_CM_ContentCategoryList;

typedef struct CKG_CM_List
{
    struct CKG_CM_List *prev;
    struct CKG_CM_List *next;
} CKG_CM_List;


extern int CKG_CM_AddItemToList(CKG_CM_List **list, CKG_CM_List *itemToAdd);
extern int CKG_CM_RemoveItemFromList(CKG_CM_List **list, CKG_CM_List *itemToRemove);

#endif
