]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/cnid_private.h
Support for using $u username variable in AFP volume definitions
[netatalk.git] / include / atalk / cnid_private.h
index 4e0e0b5570fe5503db28144505d2054757064474..c030ff99f404b2d99d09ef8d11b0a6d887c6e358 100644 (file)
@@ -5,9 +5,6 @@
 #ifndef _ATALK_CNID_PRIVATE_H
 #define _ATALK_CNID_PRIVATE_H 1
 
-#define CNID_DB_MAGIC   0x434E4944U  /* CNID */
-#define CNID_DATA_MAGIC 0x434E4945U  /* CNIE */
-
 #define CNID_OFS                 0
 #define CNID_LEN                 4
  
@@ -67,8 +64,9 @@
  * 0: up to Netatalk 2.1.x
  * 1: starting with 2.2, additional name index, used in cnid_find
  */
-#define CNID_VERSION_0 0
-#define CNID_VERSION_1 1
+#define CNID_VERSION_0               0
+#define CNID_VERSION_1               1
+#define CNID_VERSION_UNINTIALIZED_DB UINT32_MAX
 
 /* Current CNID version */
 #define CNID_VERSION CNID_VERSION_1