diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-04 19:34:19 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-04 19:34:19 -0700 |
commit | 950398c4f68a75a12c370ee8bf4b0f57ca1bfd9f (patch) | |
tree | 891affc559bfad08a8e6aea0093c2ee444fcf894 | |
parent | cc60a20f9e279c7b914d867b175db6ad40878361 (diff) |
Clarified purpose of helper.c, moved *version() to fuse.c
-rw-r--r-- | lib/fuse.c | 10 | ||||
-rw-r--r-- | lib/helper.c | 14 |
2 files changed, 14 insertions, 10 deletions
@@ -4856,3 +4856,13 @@ int fuse_mount(struct fuse *f, const char *mountpoint) { void fuse_unmount(struct fuse *f) { return fuse_session_unmount(fuse_get_session(f)); } + +int fuse_version(void) +{ + return FUSE_VERSION; +} + +const char *fuse_pkgversion(void) +{ + return PACKAGE_VERSION; +} diff --git a/lib/helper.c b/lib/helper.c index 63f26c2..140de00 100644 --- a/lib/helper.c +++ b/lib/helper.c @@ -2,6 +2,10 @@ FUSE: Filesystem in Userspace Copyright (C) 2001-2007 Miklos Szeredi <miklos@szeredi.hu> + Helper functions to create (simple) standalone programs. With the + aid of these functions it should be possible to create full FUSE + file system by implementing nothing but the request handlers. + This program can be distributed under the terms of the GNU LGPLv2. See the file COPYING.LIB. */ @@ -295,13 +299,3 @@ out1: fuse_opt_free_args(&args); return res; } - -int fuse_version(void) -{ - return FUSE_VERSION; -} - -const char *fuse_pkgversion(void) -{ - return PACKAGE_VERSION; -} |