Merge branch 'for-2.6.31' of git://fieldses.org/git/linux-nfsd
[linux-2.6] / include / linux / sunrpc / svcauth_gss.h
1 /*
2  * linux/include/linux/sunrpc/svcauth_gss.h
3  *
4  * Bruce Fields <bfields@umich.edu>
5  * Copyright (c) 2002 The Regents of the Unviersity of Michigan
6  */
7
8 #ifndef _LINUX_SUNRPC_SVCAUTH_GSS_H
9 #define _LINUX_SUNRPC_SVCAUTH_GSS_H
10
11 #ifdef __KERNEL__
12 #include <linux/sched.h>
13 #include <linux/sunrpc/types.h>
14 #include <linux/sunrpc/xdr.h>
15 #include <linux/sunrpc/svcauth.h>
16 #include <linux/sunrpc/svcsock.h>
17 #include <linux/sunrpc/auth_gss.h>
18
19 int gss_svc_init(void);
20 void gss_svc_shutdown(void);
21 int svcauth_gss_register_pseudoflavor(u32 pseudoflavor, char * name);
22 u32 svcauth_gss_flavor(struct auth_domain *dom);
23 char *svc_gss_principal(struct svc_rqst *);
24
25 #endif /* __KERNEL__ */
26 #endif /* _LINUX_SUNRPC_SVCAUTH_GSS_H */