diff options
Diffstat (limited to 'include/fstree.h')
-rw-r--r-- | include/fstree.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/fstree.h b/include/fstree.h index a7d19c2..96294b8 100644 --- a/include/fstree.h +++ b/include/fstree.h @@ -29,6 +29,11 @@ struct tree_xattr_t { size_t max_attr; /** + * @brief Incremental index within all xattr blocks + */ + size_t index; + + /** * @brief Back reference to the tree node this was created for */ tree_node_t *owner; @@ -350,6 +355,15 @@ int fstree_add_xattr(fstree_t *fs, tree_node_t *node, const char *key, const char *value); /** + * @brief Recompute index number of all xattr blocks + * + * @memberof fstree_t + * + * @param fs A pointer to the fstree object + */ +void fstree_xattr_reindex(fstree_t *fs); + +/** * @brief Remove dupliciate xattr listings * * @memberof fstree_t |