Ilist Module

This module contains functions for creating and managing an Ilist, which is a managed array of arbitrary elements of one type. These elements can be addresses or structures.

Header to include: ilist.h

The Ilist structure

LIST FUNCTIONS FROM ilist.c

The Ilist structure is described by:

  typedef struct ilist_struct
  {
    void *data;        /* Pointer to data */
    int   dsize;       /* Size of data element in bytes */
    int   current;     /* Current item */
    int   size;        /* Number of items on list */
    int   store;       /* Number of items space allocated for */
    int   quantum;     /* Increment when allocating more space */
  }Ilist;

DESCRIBE FUNCTIONS FROM ilist.c