~ubuntu-branches/ubuntu/hardy/klibc/hardy-updates

« back to all changes in this revision

Viewing changes to nfsmount/nfsmount.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeff Bailey
  • Date: 2006-01-04 20:24:52 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060104202452-ec4v3n829rymukuv
Tags: 1.1.15-0ubuntu1
* New upstream version.

* Patch to fix compilation on parisc64 kernels.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * nfsmount/nfsmount.h
3
 
 */
4
 
 
5
 
#include <linux/nfs_mount.h>
6
 
 
7
 
extern __u32 nfs_port;
8
 
 
9
 
extern int nfsmount_main(int argc, char *argv[]);
10
 
int nfs_mount(const char *rem_name, const char *hostname,
11
 
              __u32 server, const char *rem_path,
12
 
              const char *path, struct nfs_mount_data *data);
13
 
 
14
 
enum nfs_proto {
15
 
        v2 = 2,
16
 
        v3,
17
 
};
18
 
 
19
 
/* masked with NFS_MOUNT_FLAGMASK before mount() call */
20
 
#define NFS_MOUNT_KLIBC_RONLY   0x00010000U
21
 
/*
22
 
 * Note for gcc 3.2.2:
23
 
 *
24
 
 * If you're turning on debugging, make sure you get rid of -Os from
25
 
 * the gcc command line, or else ipconfig will fail to link.
26
 
 */
27
 
#undef NFS_DEBUG
28
 
 
29
 
#undef DEBUG
30
 
#ifdef NFS_DEBUG
31
 
#define DEBUG(x) printf x
32
 
#else
33
 
#define DEBUG(x) do { } while(0)
34
 
#endif