]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/hfs/hfs_cnode.h
xnu-2422.115.4.tar.gz
[apple/xnu.git] / bsd / hfs / hfs_cnode.h
index 824aa2938ec524dbe1cfc463b0aa241e369fd69c..9c45e79128a5e03e9c88ae39ad8a3c8cd46c45ba 100644 (file)
@@ -344,8 +344,13 @@ extern u_int32_t hfs_get_dateadded (struct cnode *cp);
 /* Gen counter methods */
 extern void hfs_write_gencount(struct cat_attr *cattrp, uint32_t gencount);
 extern uint32_t hfs_get_gencount(struct cnode *cp);
+extern uint32_t hfs_get_gencount_from_blob (const uint8_t *finfoblob, mode_t mode);
 extern uint32_t hfs_incr_gencount (struct cnode *cp);
 
+/* Document id methods */
+extern uint32_t hfs_get_document_id(struct cnode * /* cp */);
+extern uint32_t hfs_get_document_id_from_blob(const uint8_t * /* finderinfo */, mode_t /* mode */);
+
 /* Zero-fill file and push regions out to disk */
 extern int  hfs_filedone(struct vnode *vp, vfs_context_t context);