aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2001-12-08 20:29:20 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2001-12-08 20:29:20 +0000
commitacd4e06c71f5b31627911dd3b0b300d16fb103ae (patch)
tree09d5f048a9db4c2e14a541633a15af84dfd0d747 /include/fuse.h
parentbf36016741c473b476aadef46ec9d7869523b8c0 (diff)
downloadlibfuse-acd4e06c71f5b31627911dd3b0b300d16fb103ae.tar.gz
minor updates
Diffstat (limited to 'include/fuse.h')
-rw-r--r--include/fuse.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/fuse.h b/include/fuse.h
index 42ef8bb..700569c 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -6,6 +6,9 @@
See the file COPYING.
*/
+#ifndef _FUSE_H_
+#define _FUSE_H_
+
/* This file defines the library interface of FUSE */
#include <sys/types.h>
@@ -85,6 +88,9 @@ struct fuse_operations {
/** Enable debuging output */
#define FUSE_DEBUG (1 << 1)
+#ifdef __cplusplus
+extern "C" {
+#endif
/**
* Create a new FUSE filesystem.
@@ -175,3 +181,8 @@ struct fuse_cmd *__fuse_read_cmd(struct fuse *f);
void __fuse_process_cmd(struct fuse *f, struct fuse_cmd *cmd);
void __fuse_loop_mt(struct fuse *f, fuse_processor_t proc, void *data);
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _FUSE_H_ */