Skip to content
Snippets Groups Projects
Commit d8cc1438 authored by David Vasek's avatar David Vasek Committed by Daniel Salzman
Browse files

zone: simplify purge macro definitions

parent a909f3c6
No related merge requests found
......@@ -72,12 +72,12 @@ typedef enum {
PURGE_ZONE_CATALOG = 1 << 7, /*!< Purge the catalog. */
} purge_flag_t;
#define PURGE_ZONE_FULL ~0U /*!< Purge everything possible. */
/*!< Standard purge (respect C_ZONEFILE_SYNC param). */
#define PURGE_ZONE_ALL (PURGE_ZONE_FULL ^ PURGE_ZONE_NOSYNC)
/*!< All data. */
#define PURGE_ZONE_DATA (PURGE_ZONE_TIMERS | PURGE_ZONE_ZONEFILE | PURGE_ZONE_JOURNAL | \
PURGE_ZONE_KASPDB | PURGE_ZONE_CATALOG)
/*!< All data. */
#define PURGE_ZONE_DATA (PURGE_ZONE_TIMERS | PURGE_ZONE_ZONEFILE | PURGE_ZONE_JOURNAL | \
PURGE_ZONE_KASPDB | PURGE_ZONE_CATALOG)
/*!< Standard purge (respect C_ZONEFILE_SYNC param). */
#define PURGE_ZONE_ALL (PURGE_ZONE_DATA | PURGE_ZONE_BEST | PURGE_ZONE_LOG)
/*!
* \brief Structure for holding DNS zone.
......
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