Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

/projects/cubeos/src_current/kernel/list.h File Reference

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

Go to the source code of this file.

Compounds

struct  entry_s
 entry of a list. More...

struct  list_s
 a list. More...


Defines

#define LIST_TYPE_USER   0
#define LIST_TYPE_SYS   1
#define LIST_TYPE_PRIO   2

Typedefs

typedef list_s list
typedef entry_s entry

Functions

entryLIST_head (list *l)
 returns a pointer to the head entry of a list. More...

entryLIST_tail (list *l)
 returns a pointer to the tail entry of a list. More...

int LIST_entries (list *l)
 returns the number of entries in a list. More...

void LIST_init (list *l)
 initializes a list for first use. More...

void LIST_insert_after (entry *e, entry *x)
 inserts an entry after another entry in a list. More...

void LIST_insert_before (entry *e, entry *x)
 inserts an entry before another entry in a list. More...

void LIST_insert_head (list *l, entry *e)
 inserts an entry into a list as head entry and moves the previous head entry. More...

void LIST_insert_tail (list *l, entry *e)
 inserts an entry into a list as tail entry and moves the previous tail entry. More...

void LIST_delete (entry *e)
 deletes an entry from its current list. More...

void LIST_makeentry (entry *e)
 prepares an entry for (re-)use. More...


Detailed Description

Definition in file list.h.


Define Documentation

#define LIST_TYPE_PRIO   2
 

Definition at line 27 of file list.h.

Referenced by KERN_schedinit, and KERN_suspend.

#define LIST_TYPE_SYS   1
 

Definition at line 26 of file list.h.

Referenced by KERN_schedinit.

#define LIST_TYPE_USER   0
 

Definition at line 25 of file list.h.

Referenced by LIST_init.


Typedef Documentation

typedef struct entry_s entry
 

Definition at line 30 of file list.h.

typedef struct list_s list
 

Definition at line 29 of file list.h.


Generated on Thu Feb 20 15:38:53 2003 for cubeOS by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002