2
* Portions Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
2
* Portions Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
3
3
* Portions Copyright (C) 2001 Internet Software Consortium.
5
* Permission to use, copy, modify, and/or distribute this software for any
6
* purpose with or without fee is hereby granted, provided that the above
7
* copyright notice and this permission notice appear in all copies.
9
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC AND NOMINUM DISCLAIMS ALL
10
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
11
* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY
12
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
4
17
* Portions Copyright (C) 2001 Nominum, Inc.
6
* Permission to use, copy, modify, and distribute this software for any
19
* Permission to use, copy, modify, and/or distribute this software for any
7
20
* purpose with or without fee is hereby granted, provided that the above
8
21
* copyright notice and this permission notice appear in all copies.
39
51
* exists in the table. What to do in this case is specified by the
40
52
* client. Possible policies are:
42
* isccc_symexists_reject Disallow the define, returning ISC_R_EXISTS
43
* isccc_symexists_replace Replace the old value with the new. The
54
*\li isccc_symexists_reject Disallow the define, returning #ISC_R_EXISTS
55
*\li isccc_symexists_replace Replace the old value with the new. The
44
56
* undefine action (if provided) will be called
45
57
* with the old <key, type, value> tuple.
46
* isccc_symexists_add Add the new tuple, leaving the old tuple in
58
*\li isccc_symexists_add Add the new tuple, leaving the old tuple in
47
59
* the table. Subsequent lookups will retrieve
48
60
* the most-recently-defined tuple.