ASN1C C/C++ Common Runtime  ASN1C v7.6.x
Classes | Macros | Typedefs | Functions
rtxSList.h File Reference
#include "rtxsrc/rtxContext.h"

Go to the source code of this file.

Classes

struct  _OSRTSListNode
 
struct  _OSRTSList
 

Macros

#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)
 
OSRTSListrtxSListCreate (OSVOIDARG)
 
OSRTSListrtxSListCreateEx (OSCTXT *pctxt)
 
OSRTSListNodertxSListAppend (OSRTSList *pList, void *pData)
 
OSBOOL rtxSListFind (OSRTSList *pList, void *pData)
 
void rtxSListRemove (OSRTSList *pList, void *pData)
 

Macro Definition Documentation

◆ OSALLOCELEMSNODE

#define OSALLOCELEMSNODE (   pctxt,
  type 
)
Value:
(type*) (((char*)rtxMemAllocZ (pctxt, sizeof(type) + \
sizeof(OSRTSListNode))) + sizeof(OSRTSListNode))
#define rtxMemAllocZ(pctxt, nbytes)
Definition: rtxMemory.h:352
Definition: rtxSList.h:55