summaryrefslogtreecommitdiffstats
path: root/src/libknot/errcode.h
diff options
context:
space:
mode:
authorLibor Peltan <libor.peltan@nic.cz>2017-02-17 15:50:03 +0100
committerLibor Peltan <libor.peltan@nic.cz>2017-03-24 13:23:56 +0100
commitf811b1d1cfc0ea38559ef1fb9dfe9c4d1c7bacb5 (patch)
treed6b2aca0af8ac88895a9b28347242d8ffb971a73 /src/libknot/errcode.h
parentzscanner: upgrade to Ragel 6.10 (diff)
downloadknot-f811b1d1cfc0ea38559ef1fb9dfe9c4d1c7bacb5.tar.xz
knot-f811b1d1cfc0ea38559ef1fb9dfe9c4d1c7bacb5.zip
libknot/errcodes: added few dnssec-related "from" libdnssec
Diffstat (limited to 'src/libknot/errcode.h')
-rw-r--r--src/libknot/errcode.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libknot/errcode.h b/src/libknot/errcode.h
index 251912ebb..eed2e8c60 100644
--- a/src/libknot/errcode.h
+++ b/src/libknot/errcode.h
@@ -146,6 +146,16 @@ enum knot_error {
/* Processing error. */
KNOT_LAYER_ERROR,
+ /* DNSSEC errors. */
+ KNOT_INVALID_PUBLIC_KEY,
+ KNOT_INVALID_PRIVATE_KEY,
+ KNOT_INVALID_KEY_ALGORITHM,
+ KNOT_INVALID_KEY_SIZE,
+ KNOT_INVALID_KEY_ID,
+ KNOT_INVALID_KEY_NAME,
+ KNOT_NO_PUBLIC_KEY,
+ KNOT_NO_PRIVATE_KEY,
+
KNOT_ERROR_MAX = -501
};