summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-03-07 17:23:09 +0000
committerMiles Bader <miles@gnu.org>1996-03-07 17:23:09 +0000
commit49ec2d3e1fcb4caaf97a2cfe3b924dd6d51769c9 (patch)
treeddc562121387a1ab9c30e7434f726b63a30cc909 /libnetfs
parent37ddfd6132822055609ed0ffde1332340cd34f5c (diff)
(netfs_unparse_runtime_options): Add comment, and remove bogus semi.
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/unparse-runtime-options.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/libnetfs/unparse-runtime-options.c b/libnetfs/unparse-runtime-options.c
index 7529f5c0..4596600c 100644
--- a/libnetfs/unparse-runtime-options.c
+++ b/libnetfs/unparse-runtime-options.c
@@ -20,8 +20,14 @@
#include "netfs.h"
+/* The user may define this function, in which case it is called when the the
+ filesystem receives a get-options request. ARGZ & ARGZ_LEN will contain
+ information on `standard' netfs options; the user may extend them
+ (probably by using argz_add), or ignore them, in which case case ARGZ
+ should be freed, as it is malloced. The default implementation simply
+ leaves ARGZ & ARGZ_LEN unmodified and returns sucess (0). */
error_t
-netfs_unparse_runtime_options (char **argz, size_t *argz_len);
+netfs_unparse_runtime_options (char **argz, size_t *argz_len)
{
return 0;
}