libRASCH: linked_list.c File Reference
linked_list.c File Reference
Include dependency graph for linked_list.c:
Go to the source code of this file.
Detailed Description
This file implements the functions to handle double-linked-lists. The functions assume that the first three structure-elements of the data, managed with this linked-list functions, are defined as in ra_linked_list.h described.
Author: Raphael Schneider (rasch@med1.med.tum.de )
Definition in file linked_list.c .
Define Documentation
Function Documentation
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() .
int ra_list_del
(
void **
head ,
void *
item
)
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 .
int ra_list_len
(
void *
head
)
Generated on Fri May 27 11:32:56 2005 for libRASCH by
1.4.2