diff options
author | Miles Bader <miles@gnu.org> | 1996-09-23 19:47:17 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-09-23 19:47:17 +0000 |
commit | ca9a93fdc327a9e0a9eee8419fa78426ee7cffa1 (patch) | |
tree | df8b8c446843ee445235e3e3dec94e908f0f0438 /libnetfs/netfs.h | |
parent | 2ec09c0cf581063290abe5739eb3c0dcd31585b0 (diff) |
(netfs_get_options):
Declaration removed.
(netfs_append_args):
New declaration.
<argp.h>:
Include removed.
Diffstat (limited to 'libnetfs/netfs.h')
-rw-r--r-- | libnetfs/netfs.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/libnetfs/netfs.h b/libnetfs/netfs.h index 836005ee..19ea4688 100644 --- a/libnetfs/netfs.h +++ b/libnetfs/netfs.h @@ -23,12 +23,13 @@ #include <hurd/fshelp.h> #include <hurd/iohelp.h> #include <assert.h> -#include <argp.h> /* This library supports client-side network file system implementations. It is analogous to the diskfs library provided for disk-based filesystems. */ +struct argp; + struct protid { struct port_info pi; @@ -271,12 +272,10 @@ error_t netfs_get_dirents (struct netcred *, struct node *, int, int, char **, routine will parse them using NETFS_RUNTIME_ARGP, which see. */ error_t netfs_set_options (char *argz, size_t argz_len); -/* Return an argz string describing the current options. Fill *ARGZ - with a pointer to newly malloced storage holding the list and *LEN - to the length of that storage. The default definition of this routine - simply initializes *ARGZ and *ARGZ_LEN to 0 and calls - netfs_append_std_options. */ -error_t netfs_get_options (char **argz, size_t *argz_len); +/* Append to the malloced string *ARGZ of length *ARGZ_LEN a NUL-separated + list of the arguments to this translator. The default definition of this + routine simply calls netfs_append_std_options. */ +error_t netfs_append_args (char **argz, unsigned *argz_len); /* If this is defined or set to a pointer to an argp structure, it will be used by the default netfs_set_options to handle runtime option parsing. |