Skip to content
Snippets Groups Projects
Commit bb0e65b3 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

notify.c has no dependencies, partially resolved xfr-in.c

parent f20def5e
Branches
Tags
No related merge requests found
......@@ -192,6 +192,16 @@ void dnslib_zone_contents_dump(dnslib_zone_contents_t *zone, char loaded_zone);
#define debug_ck_rehash(msg...)
#endif
#ifdef DNSLIB_XFR_DEBUG
#define debug_dnslib_xfr(msg...) fprintf(stderr, msg)
#define debug_dnslib_xfr_hex(data, len) hex_print((data), (len))
#define DEBUG_DNSLIB_XFR(cmds) do { cmds } while (0)
#else
#define debug_dnslib_xfr(msg...)
#define debug_dnslib_xfr_hex(data, len)
#define DEBUG_DNSLIB_XFR(cmds)
#endif
#endif
/*! @} */
......@@ -19,6 +19,9 @@ enum dnslib_error {
DNSLIB_EOK = 0, /*!< OK */
DNSLIB_ERROR = -10000, /*!< General dnslib error. */
DNSLIB_ENOMEM, /*!< Not enough memory. */
DNSLIB_ENOTSUP, /*!< Operation not supported. */
DNSLIB_EAGAIN, /*!< OS lacked necessary resources. */
DNSLIB_ERANGE, /*!< Value is out of range. */
DNSLIB_EBADARG, /*!< Wrong argument supported. */
DNSLIB_EFEWDATA, /*!< Not enough data to parse. */
DNSLIB_ESPACE, /*!< Not enough space provided. */
......
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment