1skipNext(3)                     util/skiplist.h                    skipNext(3)
2
3
4

NAME

6       skipNext  - find next item.
7

SYNOPSIS

9       #include <util/skiplist.h>
10
11
12       void *skipNext(skipList list, UINT32 *pkey, void **plock);
13
14
15
16

ARGUMENTS

18       list - list to search in.
19       pkey - pointer to previous key (0 to start).
20       plock - place for value lock (or NULL).
21
22

DESCRIPTION

24       Searches  in  list <list> for item with key next larger that the one in
25       <pkey>, and returns its value if found, or NULL if not.  If <plock>  is
26       non-NULL, then the lock returned in <plock> will be associated with the
27       returned value.  Until this lock is passed to skipRelease(), the  value
28       will not be freed with the freeValue callback (see skipNewList()).
29
30       MT-Level: Safe if <list> thread-safe.
31
32

RETURN VALUE

34       pkey - set to new key.
35       plock - set to value lock.
36
37

SEE ALSO

39       skipInsert(3),  skipDelete(3),  skipSearch(3),  skipNext(3), skipFreeLā€
40       ist(3), skipNewList(3), skipRelease
41
42
43
44ClearSilver                    14 November 2006                    skipNext(3)
Impressum