lists.h File Reference

Go to the source code of this file.

Data Structures

struct  _list
struct  _lol

Defines

#define LOL_MAX   9
#define list_next(l)   ((l)->next)
#define L0   ((LIST *)0)

Typedefs

typedef _list LIST
typedef _lol LOL

Functions

LISTlist_append (LIST *l, LIST *nl)
LISTlist_copy (LIST *l, LIST *nl)
void list_free (LIST *head)
LISTlist_new (LIST *head, const char *string, int copy)
void list_print (LIST *l)
int list_length (LIST *l)
LISTlist_sublist (LIST *l, int start, int count)
void lol_add (LOL *lol, LIST *l)
void lol_init (LOL *lol)
void lol_free (LOL *lol)
LISTlol_get (LOL *lol, int i)
void lol_print (LOL *lol)


Define Documentation

#define L0   ((LIST *)0)

#define list_next (  )     ((l)->next)

#define LOL_MAX   9


Typedef Documentation

typedef struct _list LIST

typedef struct _lol LOL


Function Documentation

LIST* list_append ( LIST l,
LIST nl 
)

LIST* list_copy ( LIST l,
LIST nl 
)

void list_free ( LIST head  ) 

int list_length ( LIST l  ) 

LIST* list_new ( LIST head,
const char *  string,
int  copy 
)

void list_print ( LIST l  ) 

LIST* list_sublist ( LIST l,
int  start,
int  count 
)

void lol_add ( LOL lol,
LIST l 
)

void lol_free ( LOL lol  ) 

LIST* lol_get ( LOL lol,
int  i 
)

void lol_init ( LOL lol  ) 

void lol_print ( LOL lol  ) 


Generated on Thu Aug 17 15:54:32 2006 for MaJam by  doxygen 1.4.7