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

NAME

6       skipInsert  - insert an item.
7

SYNOPSIS

9       #include <util/skiplist.h>
10
11
12       NEOERR *skipInsert(skipList list, UINT32 key, void *value, int allowUpdate);
13
14
15
16

ARGUMENTS

18       list - list to add pair to.
19       key - key identifying <value>.
20       value - value to store (may NOT be NULL)
21
22

DESCRIPTION

24       Inserts  the  <key>/<value>  pair into the <list>.  Key values 0 and -1
25       are reserved (and illegal).  If key is already in list,  and  <allowUp‐
26       date> is true, value is updated, otherwise SKIPERR_EXISTS is returned.
27
28       MT-Level: Safe if <list> thread-safe.
29
30

RETURN VALUE

32       None.
33
34

SEE ALSO

36       skipDelete(3),    skipFreeList(3),    skipRelease(3),    skipInsert(3),
37       skipSearch(3), skipNext(3), skipNewList
38
39
40
41ClearSilver                      12 July 2007                    skipInsert(3)
Impressum