rtxSList.h File Reference
#include "rtxsrc/rtxContext.h"
Go to the source code of this file.
Classes | |
struct | _OSRTSListNode |
struct | _OSRTSList |
Defines | |
#define | OSALLOCELEMSNODE(pctxt, type) |
Typedefs | |
typedef struct _OSRTSListNode | OSRTSListNode |
typedef struct _OSRTSList | OSRTSList |
Functions | |
void | rtxSListInit (OSRTSList *pList) |
void | rtxSListInitEx (OSCTXT *pctxt, OSRTSList *pList) |
void | rtxSListFree (OSRTSList *pList) |
void | rtxSListFreeAll (OSRTSList *pList) |
OSRTSList * | rtxSListCreate (void) |
OSRTSList * | rtxSListCreateEx (OSCTXT *pctxt) |
OSRTSListNode * | rtxSListAppend (OSRTSList *pList, void *pData) |
OSBOOL | rtxSListFind (OSRTSList *pList, void *pData) |
void | rtxSListRemove (OSRTSList *pList, void *pData) |
Detailed Description
Define Documentation
#define OSALLOCELEMSNODE | ( | pctxt, | |||
type | ) |
Value:
(type*) (((char*)rtxMemAllocZ (pctxt, sizeof(type) + \ sizeof(OSRTSListNode))) + sizeof(OSRTSListNode))