]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
new error code
authorMatthijs Mekking <matje@NLnetLabs.nl>
Wed, 1 Aug 2012 20:25:54 +0000 (20:25 +0000)
committerMatthijs Mekking <matje@NLnetLabs.nl>
Wed, 1 Aug 2012 20:25:54 +0000 (20:25 +0000)
error.c
ldns/error.h

diff --git a/error.c b/error.c
index cf6788ffb36c06915b543d43601e8ea71441d31b..c885e2b66684a0f63e99c88ac742fdc1c8cba71c 100644 (file)
--- a/error.c
+++ b/error.c
@@ -65,6 +65,7 @@ ldns_lookup_table ldns_error_str[] = {
        { LDNS_STATUS_WIRE_INCOMPLETE_AUTHORITY, "authority section incomplete" },
        { LDNS_STATUS_WIRE_INCOMPLETE_ADDITIONAL, "additional section incomplete" },
        { LDNS_STATUS_NO_DATA, "No data" },
+       { LDNS_STATUS_EXISTS_ERR, "Element already exists" },
        { LDNS_STATUS_CERT_BAD_ALGORITHM, "Bad algorithm type for CERT record" },
        { LDNS_STATUS_SYNTAX_TYPE_ERR, "Syntax error, could not parse the RR's type" },
        { LDNS_STATUS_SYNTAX_CLASS_ERR, "Syntax error, could not parse the RR's class" },
index 6396a93466400f9146fc0b207d99b3caab6105a5..c9869f0dd507f08cd74139f970373493549d52a4 100644 (file)
@@ -75,6 +75,7 @@ enum ldns_enum_status {
        LDNS_STATUS_WIRE_INCOMPLETE_AUTHORITY,
        LDNS_STATUS_WIRE_INCOMPLETE_ADDITIONAL,
        LDNS_STATUS_NO_DATA,
+       LDNS_STATUS_EXISTS_ERR,
        LDNS_STATUS_CERT_BAD_ALGORITHM,
        LDNS_STATUS_SYNTAX_TYPE_ERR,
        LDNS_STATUS_SYNTAX_CLASS_ERR,