]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/cnid_dbd_private.h
FPExchangeFiles must only switch data file, not metadata
[netatalk.git] / include / atalk / cnid_dbd_private.h
index 0607aec228c5889a4ac93e02e83feaa269f76cc3..b61f7a8ce6e3d1d65275c4c01537ac967c6a3894 100644 (file)
@@ -25,6 +25,7 @@
 #define CNID_DBD_OP_GETSTAMP    0x0b
 #define CNID_DBD_OP_REBUILD_ADD 0x0c
 #define CNID_DBD_OP_SEARCH      0x0d
+#define CNID_DBD_OP_WIPE        0x0e
 
 #define CNID_DBD_RES_OK            0x00
 #define CNID_DBD_RES_NOTFOUND      0x01
@@ -43,7 +44,7 @@ struct cnid_dbd_rqst {
     ino_t   ino;
     uint32_t type;
     cnid_t  did;
-    char   *name;
+    const char *name;
     size_t  namelen;
 };
 
@@ -51,12 +52,12 @@ struct cnid_dbd_rply {
     int     result;    
     cnid_t  cnid;
     cnid_t  did;
-    char   *name;
+    char    *name;
     size_t  namelen;
 };
 
 typedef struct CNID_private {
-    u_int32_t magic;
+    uint32_t magic;
     char      db_dir[MAXPATHLEN + 1]; /* Database directory without /.AppleDB appended */
     char      *cnidserver;
     char      *cnidport;