summaryrefslogtreecommitdiff
path: root/nfs/nfs.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-12-29 00:40:09 +0000
committerRoland McGrath <roland@gnu.org>2001-12-29 00:40:09 +0000
commit5d9efe088f5d83921305ee2f93f6c6590c640b47 (patch)
tree4db1eaac333cdb1147d083a87c8c9e9a8eb184b9 /nfs/nfs.h
parent8b73f5b1b2ca8deb9839ac003bf7ef5f0fc8ce75 (diff)
2001-10-13 Roland McGrath <roland@frob.com>
* storage-info.c: New file. * Makefile (SRCS): Add it. * mount.c (mounted_hostname, mounted_nfs_port): New global variables. (mount_root): Set them. * nfs.h: Declare them.
Diffstat (limited to 'nfs/nfs.h')
-rw-r--r--nfs/nfs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/nfs/nfs.h b/nfs/nfs.h
index 5fb62c50..147dc900 100644
--- a/nfs/nfs.h
+++ b/nfs/nfs.h
@@ -1,5 +1,5 @@
/* Data structures and global variables for NFS client
- Copyright (C) 1994, 1995, 1996, 1997, 1999 Free Software Foundation
+ Copyright (C) 1994,95,96,97,99,2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -20,6 +20,7 @@
#include <sys/stat.h>
#include <sys/types.h>
+#include <stdint.h>
#include <sys/mman.h>
#include "nfs-spec.h"
#include <hurd/netfs.h>
@@ -177,6 +178,8 @@ error_t nfs_error_trans (int);
/* mount.c */
struct node *mount_root (char *, char *);
+extern const char *mounted_hostname;
+extern uint16_t mounted_nfs_port; /* host order */
/* ops.c */
int *register_fresh_stat (struct node *, int *);