summaryrefslogtreecommitdiffstats
path: root/src/lib/rpc/auth_any.c
blob: 37731e0fa42611ccaa4e9f554dfc78f66701194f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * auth_any.c
 * Provides default functions for authentication flavors that do not
 * use all the fields in structauth_ops.
 */

#include <stdio.h>
#include <gssrpc/types.h>
#include <gssrpc/xdr.h>
#include <gssrpc/auth.h>

int authany_wrap(auth, xdrs, xfunc, xwhere)
   AUTH *auth;
   XDR *xdrs;
   xdrproc_t xfunc;
   caddr_t xwhere;
{
     return (*xfunc)(xdrs, xwhere);
}