This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
2017-03-18 23:04:38 +10:00

22 lines
411 B
C

#ifndef SHARED_JBLIST_H
#define SHARED_JBLIST_H
struct jbList
{
struct jbNode *First;
struct jbNode *Last;
};
struct jbNode
{
struct jbNode *Next;
};
void jbAddNode(struct jbList *list, struct jbNode *node);
void jbNewList(struct jbList *list);
void jbFreeList(struct jbList *list);
void jbFreeNum(struct jbList *list,uint32_t num);
void jbFreeNode(struct jbList *list,struct jbNode *node);
#endif