|
|
libRASCH: ra_linked_list.h File Reference
ra_linked_list.h File Reference
Include dependency graph for ra_linked_list.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|
Functions |
| LIBRAAPI int | ra_list_add (void **head, void *item) |
| | add an entry to a linked list
|
| LIBRAAPI int | ra_list_insert (void **head, void *prev, void *item) |
| | insert an entry to a linked list
|
| LIBRAAPI int | ra_list_del (void **head, void *item) |
| | delete an entry from a linked list
|
| LIBRAAPI int | ra_list_len (void *head) |
Detailed Description
The header file contains needed infos for linked-list implementation in libRASCH.
- Author:
- Raphael Schneider (rasch@med1.med.tum.de)
Definition in file ra_linked_list.h.
Function Documentation
| LIBRAAPI int ra_list_add |
( |
void ** |
head, |
|
|
void * |
item |
|
) |
|
|
|
|
- Parameters:
-
| <head> | head of linked list |
| <item> | item to be added |
This function adds 'item' to the linked list identified by 'head' (head of list).
Definition at line 34 of file linked_list.c.
References linked_list::next, and linked_list::prev.
Referenced by ra_class_add(), ra_eval_add(), ra_eval_attribute_set(), ra_prop_add(), ra_sum_add(), ra_sum_add_part(), read_evals_xml(), read_props_xml(), read_sets_xml(), and read_templates_xml(). |
| LIBRAAPI int ra_list_del |
( |
void ** |
head, |
|
|
void * |
item |
|
) |
|
|
| LIBRAAPI int ra_list_insert |
( |
void ** |
head, |
|
|
void * |
prev, |
|
|
void * |
item |
|
) |
|
|
|
|
- Parameters:
-
| <head> | head of linked list |
| <prev> | previous item |
| <item> | item to be added |
This function inserts 'item' in a linked list (identified by 'head'). The item will come directly after 'prev'.
Definition at line 82 of file linked_list.c.
References linked_list::next, and linked_list::prev. |
| LIBRAAPI int ra_list_len |
( |
void * |
head |
) |
|
|
Generated on Fri May 27 11:33:33 2005 for libRASCH by
1.4.2
|