From e787787ab06b9739e04c04320fd6749d10ca8d64 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 13 May 2002 17:39:37 +0000 Subject: libnetfs/ 2002-05-13 Marcus Brinkmann * 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 * ftpfs.c (netfs_server_name, netfs_server_version): New variables. hostmux/ 2002-05-13 Marcus Brinkmann * hostmux.c (netfs_server_name, netfs_server_version): New variables. nfs/ 2002-05-13 Marcus Brinkmann * main.c: Include . (netfs_server_name, netfs_server_version, argp_program_version): New variables. trans/ 2002-05-13 Marcus Brinkmann * fakeroot.c (netfs_server_name, netfs_server_version): New variables. usermux/ 2002-05-13 Marcus Brinkmann * usermux.c (netfs_server_name, netfs_server_version): New variables. --- libnetfs/netfs.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libnetfs/netfs.h') 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. */ -- cgit v1.2.3