aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorBenjamin Fleischer <fleiben@gmail.com>2012-01-20 09:22:54 +0100
committerBenjamin Fleischer <fleiben@gmail.com>2012-01-20 10:02:14 +0100
commitb4023a19dd7ec7a099d2e0df491547cf3bb6bec3 (patch)
tree9181a610412c799c7815743eaf5ad3a21806bb27 /cache.h
parent49203ee923b2dcc8d4fd65c61b076e357c5e224d (diff)
downloadsshfs-b4023a19dd7ec7a099d2e0df491547cf3bb6bec3.tar
sshfs-b4023a19dd7ec7a099d2e0df491547cf3bb6bec3.tar.gz
sshfs-b4023a19dd7ec7a099d2e0df491547cf3bb6bec3.tar.bz2
sshfs-b4023a19dd7ec7a099d2e0df491547cf3bb6bec3.zip
Apply modified sshfs 2.2 patch from MacFUSE
Based on Amit Singh's work at http://code.google.com/p/macfuse/
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index cec9ca4..23ff970 100644
--- a/cache.h
+++ b/cache.h
@@ -27,3 +27,7 @@ int cache_parse_options(struct fuse_args *args);
void cache_add_attr(const char *path, const struct stat *stbuf, uint64_t wrctr);
void cache_invalidate(const char *path);
uint64_t cache_get_write_ctr(void);
+
+#if __APPLE__
+extern int cache_enabled;
+#endif