summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}