longlist.h File Reference

<mi32/longlist.h> Definitions for LONGLIST More...

#include <mi32/stddefns.h>

Include dependency graph for longlist.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  LONGLIST
 Structure used by LongListXxxx() functios (longlist.c). More...

Functions

int LongListAdd (LONGLIST *list, INT32 val)
int LongListAddUnique (LONGLIST *list, INT32 val)
int LongListAddUniqueWithFlag (LONGLIST *list, INT32 val, UINT8 flag)
int LongListAddWithFlag (LONGLIST *list, INT32 val, UINT8 flag)
int LongListCheckIn (LONGLIST *list, INT32 val)
void LongListClear (LONGLIST *list)
void LongListFree (LONGLIST *list)
int LongListGetBits (LONGLIST *list, UINT8 **bits, INT32 *num)
int LongListGetFirst (LONGLIST *list, INT32 *ip, INT32 *valp)
int LongListGetLast (LONGLIST *list, INT32 *valp)
int LongListGetList (LONGLIST *list, INT32 **vals)
int LongListGetNext (LONGLIST *list, INT32 *ip, INT32 *valp)
int LongListRemove (LONGLIST *list, INT32 val)
int LongListSetBits (LONGLIST *list, UINT8 *bits, INT32 num)


Detailed Description

<mi32/longlist.h> Definitions for LONGLIST

Definition in file longlist.h.


Function Documentation

int LongListAdd LONGLIST list,
INT32  val
 

Add a value to the list, incrementing the number of elements in the list.

Reallocates the list if necessary.

int LongListAddUnique LONGLIST list,
INT32  val
 

Add a value to a list, but only if it's not already in the list.

int LongListAddUniqueWithFlag LONGLIST list,
INT32  val,
UINT8  flag
 

Add a value to a list, but only if it's not already in the list.

int LongListAddWithFlag LONGLIST list,
INT32  val,
UINT8  flag
 

Add a value to the list, incrementing the number of elements in the list.

Reallocates the list if necessary.

int LongListCheckIn LONGLIST list,
INT32  val
 

Checks to see if a value is in a list.

void LongListClear LONGLIST list  ) 
 

Clear the list.

void LongListFree LONGLIST list  ) 
 

Free the memory used by a LONGLIST.

Note: There's no LongListAlloc.

int LongListGetBits LONGLIST list,
UINT8 **  bits,
INT32 num
 

Get the number of bits.

int LongListGetFirst LONGLIST list,
INT32 ip,
INT32 valp
 

Get the first item on the list.

int LongListGetLast LONGLIST list,
INT32 valp
 

Get the last item on the list.

int LongListGetList LONGLIST list,
INT32 **  vals
 

Get the list.

int LongListGetNext LONGLIST list,
INT32 ip,
INT32 valp
 

Get the next item on the list.

int LongListRemove LONGLIST list,
INT32  val
 

Remove a value from the list.

int LongListSetBits LONGLIST list,
UINT8 bits,
INT32  num
 

Set the number of bits.


Generated on Tue Dec 14 13:19:04 2004 for TNTsdk by  doxygen 1.3.8-20040913