svc.h (0ae93b99beb283438aa571a6add4eab0c077d576) | svc.h (16c663642c7ec03cd4cee5fec520bb69e97babe4) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * linux/include/linux/sunrpc/svc.h 4 * 5 * RPC server declarations. 6 * 7 * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> 8 */ --- 440 unchanged lines hidden (view full) --- 449 450/* 451 * RPC procedure info 452 */ 453struct svc_procedure { 454 /* process the request: */ 455 __be32 (*pc_func)(struct svc_rqst *); 456 /* XDR decode args: */ | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * linux/include/linux/sunrpc/svc.h 4 * 5 * RPC server declarations. 6 * 7 * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> 8 */ --- 440 unchanged lines hidden (view full) --- 449 450/* 451 * RPC procedure info 452 */ 453struct svc_procedure { 454 /* process the request: */ 455 __be32 (*pc_func)(struct svc_rqst *); 456 /* XDR decode args: */ |
457 int (*pc_decode)(struct svc_rqst *, __be32 *data); | 457 int (*pc_decode)(struct svc_rqst *rqstp, 458 struct xdr_stream *xdr); |
458 /* XDR encode result: */ 459 int (*pc_encode)(struct svc_rqst *, __be32 *data); 460 /* XDR free result: */ 461 void (*pc_release)(struct svc_rqst *); 462 unsigned int pc_argsize; /* argument struct size */ 463 unsigned int pc_ressize; /* result struct size */ 464 unsigned int pc_cachetype; /* cache info (NFS) */ 465 unsigned int pc_xdrressize; /* maximum size of XDR reply */ --- 137 unchanged lines hidden --- | 459 /* XDR encode result: */ 460 int (*pc_encode)(struct svc_rqst *, __be32 *data); 461 /* XDR free result: */ 462 void (*pc_release)(struct svc_rqst *); 463 unsigned int pc_argsize; /* argument struct size */ 464 unsigned int pc_ressize; /* result struct size */ 465 unsigned int pc_cachetype; /* cache info (NFS) */ 466 unsigned int pc_xdrressize; /* maximum size of XDR reply */ --- 137 unchanged lines hidden --- |