aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fuse.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/fuse.h b/include/fuse.h
index 5eb257c..4898029 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -1010,6 +1010,19 @@ int fuse_getgroups(int size, gid_t list[]);
int fuse_interrupted(void);
/**
+ * Invalidates cache for the given path.
+ *
+ * This calls fuse_lowlevel_notify_inval_inode internally.
+ *
+ * @return 0 on successful invalidation, negative error value otherwise.
+ * This routine may return -ENOENT to indicate that there was
+ * no entry to be invalidated, e.g., because the path has not
+ * been seen before or has been forgotten; this should not be
+ * considered to be an error.
+ */
+int fuse_invalidate_path(struct fuse *f, const char *path);
+
+/**
* The real main function
*
* Do not call this directly, use fuse_main()