blob: a4528b26c8aad78e523c8aa327054cf9c22ccee3 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
Uwe Zeisbergerf30c2262006-10-03 23:01:26 +02003 * linux/include/linux/sunrpc/svcauth_gss.h
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 *
5 * Bruce Fields <bfields@umich.edu>
Lucas De Marchi25985ed2011-03-30 22:57:33 -03006 * Copyright (c) 2002 The Regents of the University of Michigan
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 */
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
20int gss_svc_init(void);
21void gss_svc_shutdown(void);
Stanislav Kinsburskya1db4102012-01-19 21:42:37 +040022int gss_svc_init_net(struct net *net);
23void gss_svc_shutdown_net(struct net *net);
Linus Torvalds1da177e2005-04-16 15:20:36 -070024int svcauth_gss_register_pseudoflavor(u32 pseudoflavor, char * name);
J. Bruce Fields4796f452007-07-17 04:04:51 -070025u32 svcauth_gss_flavor(struct auth_domain *dom);
Linus Torvalds1da177e2005-04-16 15:20:36 -070026
27#endif /* __KERNEL__ */
28#endif /* _LINUX_SUNRPC_SVCAUTH_GSS_H */