summaryrefslogtreecommitdiff
path: root/nfs
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 /nfs
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 'nfs')
-rw-r--r--nfs/ChangeLog6
-rw-r--r--nfs/main.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/nfs/ChangeLog b/nfs/ChangeLog
index 07ab1cd0..0ddff51b 100644
--- a/nfs/ChangeLog
+++ b/nfs/ChangeLog
@@ -1,3 +1,9 @@
+2002-05-13 Marcus Brinkmann <marcus@gnu.org>
+
+ * main.c: Include <version.h>.
+ (netfs_server_name, netfs_server_version, argp_program_version):
+ New variables.
+
2002-05-08 Roland McGrath <roland@frob.com>
* storage-info.c (netfs_file_get_storage_info): Cast %* arg to int.
diff --git a/nfs/main.c b/nfs/main.c
index c5a53cdb..48852062 100644
--- a/nfs/main.c
+++ b/nfs/main.c
@@ -30,6 +30,10 @@
#include <argp.h>
#include <argz.h>
#include <error.h>
+#include <version.h>
+
+char *netfs_server_name = "nfs";
+char *netfs_server_version = HURD_VERSION;
extern char *localhost ();
@@ -109,6 +113,8 @@ int write_size = DEFAULT_WRITE_SIZE;
#define __D(what) ___D(what)
#define _D(what) __D(DEFAULT_ ## what)
+const char *argp_program_version = STANDARD_HURD_VERSION (nfs);
+
/* Options usable both at startup and at runtime. */
static const struct argp_option common_options[] =
{