linux/net/sunrpc/auth_gss/gss_rpc_upcall.h

/* SPDX-License-Identifier: GPL-2.0+ */
/*
 *  linux/net/sunrpc/gss_rpc_upcall.h
 *
 *  Copyright (C) 2012 Simo Sorce <[email protected]>
 */

#ifndef _GSS_RPC_UPCALL_H
#define _GSS_RPC_UPCALL_H

#include <linux/sunrpc/gss_api.h>
#include <linux/sunrpc/auth_gss.h>
#include "gss_rpc_xdr.h"
#include "../netns.h"

struct gssp_upcall_data {};

int gssp_accept_sec_context_upcall(struct net *net,
				struct gssp_upcall_data *data);
void gssp_free_upcall_data(struct gssp_upcall_data *data);

void init_gssp_clnt(struct sunrpc_net *);
int set_gssp_clnt(struct net *);
void clear_gssp_clnt(struct sunrpc_net *);

#endif /* _GSS_RPC_UPCALL_H */