[insert project logo here (125x200px max)]

Navigator

Mailinglists

Please report any errors or ommissions you find to our `Help' mailinglist, or post a message in the Forums.

Copyright and Licensing Information

Snap is (c) Jonathan T. Moore, 1999-2002 and licensed under the GNU General Public License (GPL).

All other parts of Splash are (c) Willem de Bruijn, 2002-2003 and licensed under the BSD Open Source License.

All sourcecode is made publicly available.

Acknowledgement

Splash and the Splash website are hosted by SourceForge.net

SourceForge.net Logo

osi-open source certified logo

Splash - Documentation

SNMP Plus a Lightweight API for SNAP Handling

Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

snap-1.1-wjdb/lib/list.h

Go to the documentation of this file.
00001 /* snap-1.0. Copyright (C) 2000 by Jonathan T. Moore and Michael Hicks.
00002  *
00003  * list.h : routines for manipulating SNAP lists
00004  *
00005  * $Id: list.h,v 1.1.1.1 2002/12/04 18:59:42 wdebruij Exp $
00006  */
00007 #ifndef _SNAP_LIST_H
00008 #define _SNAP_LIST_H
00009 
00010 #ifndef _SNAP_LIST_T
00011 typedef struct l {
00012   void *v;
00013   struct l *next;
00014 } list_t;
00015 #define _SNAP_LIST_T
00016 #endif /* !_SNAP_LIST_T */
00017 
00018 extern list_t *cons(void *v, list_t *next);
00019 extern void free_list(list_t *list);
00020 extern int length_list(list_t *list);
00021 #endif /* !_SNAP_LIST_H */