summaryrefslogtreecommitdiffstats
path: root/src/lib/rpc/auth_any.c
blob: 5e2a8633a4459ebce79cb92f738bec123220db87 (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 <rpc/types.h>
#include <rpc/xdr.h>
#include <rpc/auth.h>

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