~ubuntu-branches/debian/experimental/nfs-utils/experimental

« back to all changes in this revision

Viewing changes to utils/rquotad/rquota_svc.c

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar
  • Date: 2006-07-08 14:26:40 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060708142640-r171kjj2a13gy2kz
Tags: 1:1.0.9-1
* Updated co-mantainer mail address.
* New upstream release.
  - Added 'mount.nfs' utility which can be used as a mount helper
    to mount nfs filesystems. It does not yet support 'user' mounts.
  - Makefile/autoconf tidyups
  - No compiles with no warnings
  - deleted debian/* at request of debian maintainer
  - deleted assorted other unused files
  - mountd can be run multi-threaded for configurations with many hundreds
    of clients (mountd -t 20).  Default is single-threaded
  - Support for selection NFS version to be exported, and protocol to
    use.  This requires kernel patches that should be in linux 2.6.19.
  - Use 65534 rather than -2 for default anon.  This makes no difference in many
    cases, but is important in some.
  - New utility 'rpcdebug' for controlled kernel 'debug' options for nfs and nfsd.
  - nfsstat reports NFSv4 operation statistics that should be available in
    linux 2.6.18.
  - assorted other fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
#define SIG_PF void(*)(int)
48
48
#endif
49
49
 
50
 
extern getquota_rslt *rquotaproc_getquota_1(getquota_args *argp,
51
 
                                            struct svc_req *rqstp);
52
 
extern getquota_rslt *rquotaproc_getactivequota_1(getquota_args *argp,
53
 
                                                  struct svc_req *rqstp);
54
 
extern getquota_rslt *rquotaproc_getquota_2(ext_getquota_args *argp,
55
 
                                            struct svc_req *rqstp);
56
 
extern getquota_rslt *rquotaproc_getactivequota_2(ext_getquota_args *argp,
57
 
                                                  struct svc_req *rqstp);
58
 
 
59
50
static struct option longopts[] =
60
51
{
61
52
        { "help", 0, 0, 'h' },
113
104
      case RQUOTAPROC_GETQUOTA:
114
105
         xdr_argument = (xdrproc_t) xdr_getquota_args;
115
106
         xdr_result = (xdrproc_t) xdr_getquota_rslt;
116
 
         local = (char *(*)(char *, struct svc_req *)) rquotaproc_getquota_1;
 
107
         local = (char *(*)(char *, struct svc_req *)) rquotaproc_getquota_1_svc;
117
108
         break;
118
109
 
119
110
      case RQUOTAPROC_GETACTIVEQUOTA:
120
111
         xdr_argument = (xdrproc_t) xdr_getquota_args;
121
112
         xdr_result = (xdrproc_t) xdr_getquota_rslt;
122
 
         local = (char *(*)(char *, struct svc_req *)) rquotaproc_getactivequota_1;
 
113
         local = (char *(*)(char *, struct svc_req *)) rquotaproc_getactivequota_1_svc;
123
114
         break;
124
115
 
125
116
      default:
188
179
      case RQUOTAPROC_GETQUOTA:
189
180
         xdr_argument = (xdrproc_t) xdr_ext_getquota_args;
190
181
         xdr_result = (xdrproc_t) xdr_getquota_rslt;
191
 
         local = (char *(*)(char *, struct svc_req *)) rquotaproc_getquota_2;
 
182
         local = (char *(*)(char *, struct svc_req *)) rquotaproc_getquota_2_svc;
192
183
         break;
193
184
 
194
185
      case RQUOTAPROC_GETACTIVEQUOTA:
195
186
         xdr_argument = (xdrproc_t) xdr_ext_getquota_args;
196
187
         xdr_result = (xdrproc_t) xdr_getquota_rslt;
197
 
         local = (char *(*)(char *, struct svc_req *)) rquotaproc_getactivequota_2;
 
188
         local = (char *(*)(char *, struct svc_req *)) rquotaproc_getactivequota_2_svc;
198
189
         break;
199
190
 
200
191
      default: