aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/named/db_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/named/db_defs.h')
-rw-r--r--usr.sbin/named/db_defs.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/usr.sbin/named/db_defs.h b/usr.sbin/named/db_defs.h
index db9b32c2e256..c4c48ed37297 100644
--- a/usr.sbin/named/db_defs.h
+++ b/usr.sbin/named/db_defs.h
@@ -1,6 +1,6 @@
/*
* from db.h 4.16 (Berkeley) 6/1/90
- * $Id: db_defs.h,v 1.11 1994/07/22 08:42:39 vixie Exp $
+ * $Id: db_defs.h,v 8.3 1995/06/19 20:55:40 vixie Exp $
*/
/*
@@ -152,8 +152,9 @@ struct hashbuf {
#define DB_DELETE 0x04 /* delete data if it exists */
#define DB_NOTAUTH 0x08 /* must not update authoritative data */
#define DB_NOHINTS 0x10 /* don't reflect update in fcachetab */
+#define DB_PRIMING 0x20 /* is this update the result of priming? */
-#define DB_Z_CACHE (0) /* cache-zone-only db_dump() */
+#define DB_Z_CACHE (0) /* cache-zone-only db_dump() */
#define DB_Z_ALL (-1) /* normal db_dump() */
/*
@@ -170,3 +171,10 @@ struct hashbuf {
#define GOODDB -8
#define NEWDB -9
#define AUTH -10
+
+/*
+ * getnum() options
+ */
+#define GETNUM_NONE 0x00 /* placeholder */
+#define GETNUM_SERIAL 0x01 /* treat as serial number */
+#define GETNUM_SCALED 0x02 /* permit "k", "m" suffixes, scale result */