Skip to content
Snippets Groups Projects
Commit 4073bfaa authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Added new dnslib error code.

parent 07be02d7
No related branches found
No related tags found
No related merge requests found
......@@ -17,5 +17,6 @@ const error_table_t dnslib_error_msgs[DNSLIB_ERROR_COUNT] = {
{DNSLIB_EHASH, "Error in hash table."},
{DNSLIB_EZONEIN, "Error inserting zone."},
{DNSLIB_ENOZONE, "No such zone found."},
{DNSLIB_EDNAMEPTR, "Domain name pointer larger than allowed."},
{DNSLIB_ERROR, 0}
};
......@@ -29,8 +29,9 @@ enum dnslib_error {
DNSLIB_EHASH, /*!< Error in hash table. */
DNSLIB_EZONEIN, /*!< Error inserting zone. */
DNSLIB_ENOZONE, /*!< No such zone found. */
DNSLIB_EDNAMEPTR, /*!< Domain name pointer larger than allowed. */
DNSLIB_ERROR_COUNT = 14
DNSLIB_ERROR_COUNT = 15
};
/*! \brief Table linking error messages to error codes. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment