summaryrefslogtreecommitdiff
path: root/libnetfs/netfs.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-05-13 17:39:37 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-05-13 17:39:37 +0000
commite787787ab06b9739e04c04320fd6749d10ca8d64 (patch)
tree3d01bfbe0e09d09a671b73c2acbeb1098236e578 /libnetfs/netfs.h
parent105f667e7a15b63ea62842f3a0b540c0f71f02a6 (diff)
libnetfs/
2002-05-13 Marcus Brinkmann <marcus@gnu.org> * io-version.c: New file. * Makefile (IOSRCS): Add io-version.c. * fsstubs.c (netfs_S_io_server_version): Function removed. * netfs.h (netfs_server_name, netfs_server_version): New external variables to be defined by the user. ftpfs/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * ftpfs.c (netfs_server_name, netfs_server_version): New variables. hostmux/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * hostmux.c (netfs_server_name, netfs_server_version): New variables. nfs/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * main.c: Include <version.h>. (netfs_server_name, netfs_server_version, argp_program_version): New variables. trans/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * fakeroot.c (netfs_server_name, netfs_server_version): New variables. usermux/ 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * usermux.c (netfs_server_name, netfs_server_version): New variables.
Diffstat (limited to 'libnetfs/netfs.h')
-rw-r--r--libnetfs/netfs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libnetfs/netfs.h b/libnetfs/netfs.h
index 0379ce91..9becea59 100644
--- a/libnetfs/netfs.h
+++ b/libnetfs/netfs.h
@@ -93,6 +93,14 @@ struct node
struct dirmod *dirmod_reqs;
};
+/* The user must define this variable. Set this to the name of the
+ filesystem server. */
+extern char *netfs_server_name;
+
+/* The user must define this variables. Set this to be the server
+ version number. */
+extern char *netfs_server_version;
+
/* The user must define this function. Make sure that NP->nn_stat is
filled with the most current information. CRED identifies the user
responsible for the operation. NP is locked. */