| iMatix home page
| << | < | > | >>
SFL Logo SFL
Version 2.10

Linked-list functions

Filename: sflnode.h
Package: Standard Function Library (SFL)
Written: 96/06/03 iMatix SFL project team sfl@imatix.com
Revised: 97/09/08
Copyright: Copyright (c) 1991-99 iMatix Corporation

Synopsis

Provides functions to maintain doubly-linked lists. You can use these functions to work with lists of any structure. To make this work, all structures must start with two pointers, "void *next, *prev;". When you want to attach a linked-list to another structure, declare the list head as a NODE. You can then refer to this variable when you attach items to the list head. The code sets the global node_unsafe to TRUE whenever it is changing a list. NOTE: DEPRECATED IN FAVOUR OF SFLLIST.C.

List of Functions

List of Symbol Definitions

sflnode.h defines these symbols, possibly conditionally:
Symbol: Defined as:
SFLNODE_INCLUDED TRUE
node_reset(node) (node)-> prev = (node)-> next = (node)


| << | < | > | >> iMatix Copyright © 1996-99 iMatix Corporation