GNU Linux-libre 4.14.290-gnu1
[releases.git] / include / linux / sunrpc / svcauth_gss.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * linux/include/linux/sunrpc/svcauth_gss.h
4  *
5  * Bruce Fields <bfields@umich.edu>
6  * Copyright (c) 2002 The Regents of the University of Michigan
7  */
8
9 #ifndef _LINUX_SUNRPC_SVCAUTH_GSS_H
10 #define _LINUX_SUNRPC_SVCAUTH_GSS_H
11
12 #ifdef __KERNEL__
13 #include <linux/sched.h>
14 #include <linux/sunrpc/types.h>
15 #include <linux/sunrpc/xdr.h>
16 #include <linux/sunrpc/svcauth.h>
17 #include <linux/sunrpc/svcsock.h>
18 #include <linux/sunrpc/auth_gss.h>
19
20 int gss_svc_init(void);
21 void gss_svc_shutdown(void);
22 int gss_svc_init_net(struct net *net);
23 void gss_svc_shutdown_net(struct net *net);
24 struct auth_domain *svcauth_gss_register_pseudoflavor(u32 pseudoflavor,
25                                                       char *name);
26 u32 svcauth_gss_flavor(struct auth_domain *dom);
27
28 #endif /* __KERNEL__ */
29 #endif /* _LINUX_SUNRPC_SVCAUTH_GSS_H */