aboutsummaryrefslogtreecommitdiff
path: root/include/fuse_lowlevel.h
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@netfort.gr.jp>2021-05-19 17:32:14 +0900
committerGitHub <noreply@github.com>2021-05-19 09:32:14 +0100
commit0b6d97cf5938f6b4885e487c3bd7b02144b1ea56 (patch)
tree29e428fe6e1ad5bb66373189e8ff677ae2a33d5d /include/fuse_lowlevel.h
parent7d1ba6b066cee563e1b52f712146bd2b322ef2ef (diff)
downloadlibfuse-0b6d97cf5938f6b4885e487c3bd7b02144b1ea56.tar.gz
Define FUSE_USE_VERSION in Doxygen. (#608)
We currently do not pass anything in PREDEFINED and that means FUSE_USE_VERSION is undefined. Add that definition so that Doxygen built-in C pre-processor can use FUSE_USE_VERSION value to find the correct comment to parse.
Diffstat (limited to 'include/fuse_lowlevel.h')
-rw-r--r--include/fuse_lowlevel.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h
index 2a7db93..d73e9fa 100644
--- a/include/fuse_lowlevel.h
+++ b/include/fuse_lowlevel.h
@@ -990,6 +990,11 @@ struct fuse_lowlevel_ops {
void (*bmap) (fuse_req_t req, fuse_ino_t ino, size_t blocksize,
uint64_t idx);
+#if FUSE_USE_VERSION < 35
+ void (*ioctl) (fuse_req_t req, fuse_ino_t ino, int cmd,
+ void *arg, struct fuse_file_info *fi, unsigned flags,
+ const void *in_buf, size_t in_bufsz, size_t out_bufsz);
+#else
/**
* Ioctl
*
@@ -1018,11 +1023,6 @@ struct fuse_lowlevel_ops {
* Note : the unsigned long request submitted by the application
* is truncated to 32 bits.
*/
-#if FUSE_USE_VERSION < 35
- void (*ioctl) (fuse_req_t req, fuse_ino_t ino, int cmd,
- void *arg, struct fuse_file_info *fi, unsigned flags,
- const void *in_buf, size_t in_bufsz, size_t out_bufsz);
-#else
void (*ioctl) (fuse_req_t req, fuse_ino_t ino, unsigned int cmd,
void *arg, struct fuse_file_info *fi, unsigned flags,
const void *in_buf, size_t in_bufsz, size_t out_bufsz);