summaryrefslogtreecommitdiff
path: root/net/sunrpc/sunrpc.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2024-07-15 17:14:15 +1000
committerChuck Lever <chuck.lever@oracle.com>2024-09-01 10:04:56 -0400
commitf2b27e1d72527f94f030b6356b3187576e60885b (patch)
tree6c0e3622e3d67bcf8fcd539834418207d1e28039 /net/sunrpc/sunrpc.h
parent4ed9ef32606386efc562bada891d7baa16fc46b4 (diff)
SUNRPC: make various functions static, or not exported.
Various functions are only used within the sunrpc module, and several are only use in the one file. So clean up: These are marked static, and any EXPORT is removed. svc_rcpb_setup() svc_rqst_alloc() svc_rqst_free() - also moved before first use svc_rpcbind_set_version() svc_drop() - also moved to svc.c These are now not EXPORTed, but are not static. svc_authenticate() svc_sock_update_bufs() Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/sunrpc.h')
-rw-r--r--net/sunrpc/sunrpc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/sunrpc/sunrpc.h b/net/sunrpc/sunrpc.h
index d4a362c9e4b3..e3c6e3b63f0b 100644
--- a/net/sunrpc/sunrpc.h
+++ b/net/sunrpc/sunrpc.h
@@ -36,7 +36,11 @@ static inline int sock_is_loopback(struct sock *sk)
return loopback;
}
+struct svc_serv;
+struct svc_rqst;
int rpc_clients_notifier_register(void);
void rpc_clients_notifier_unregister(void);
void auth_domain_cleanup(void);
+void svc_sock_update_bufs(struct svc_serv *serv);
+enum svc_auth_status svc_authenticate(struct svc_rqst *rqstp);
#endif /* _NET_SUNRPC_SUNRPC_H */