version 1.3, 1996/06/26 05:36:35 |
version 1.4, 1996/11/30 21:08:58 |
|
|
/* $OpenBSD$ */ |
/* $OpenBSD$ */ |
/* $NetBSD: lst.h,v 1.6 1996/02/04 22:20:46 christos Exp $ */ |
/* $NetBSD: lst.h,v 1.7 1996/11/06 17:59:12 christos Exp $ */ |
|
|
/* |
/* |
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California. |
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California. |
|
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
* |
* |
* from: @(#)lst.h 5.3 (Berkeley) 6/1/90 |
* from: @(#)lst.h 8.1 (Berkeley) 6/6/93 |
*/ |
*/ |
|
|
/*- |
/*- |
|
|
* Functions for entire lists |
* Functions for entire lists |
*/ |
*/ |
/* Find an element in a list */ |
/* Find an element in a list */ |
LstNode Lst_Find __P((Lst, ClientData, |
LstNode Lst_Find __P((Lst, ClientData, |
int (*)(ClientData, ClientData))); |
int (*)(ClientData, ClientData))); |
/* Find an element starting from somewhere */ |
/* Find an element starting from somewhere */ |
LstNode Lst_FindFrom __P((Lst, LstNode, ClientData, |
LstNode Lst_FindFrom __P((Lst, LstNode, ClientData, |
int (*cProc)(ClientData, ClientData))); |
int (*cProc)(ClientData, ClientData))); |
/* |
/* |
* See if the given datum is on the list. Returns the LstNode containing |
* See if the given datum is on the list. Returns the LstNode containing |
* the datum |
* the datum |
*/ |
*/ |