1#ifndef _RPC_AUTH_DES_H
2
3#include <sunrpc/rpc/auth_des.h>
4
5# ifndef _ISOMAC
6
7libc_hidden_proto (getpublickey)
8libc_hidden_proto (getsecretkey)
9libc_hidden_proto (rtime)
10
11extern bool_t xdr_authdes_cred (XDR *xdrs, struct authdes_cred *cred);
12extern bool_t xdr_authdes_verf (XDR *xdrs,
13 struct authdes_verf *verf);
14struct svc_req;
15struct rpc_msg;
16extern enum auth_stat _svcauth_des (struct svc_req *rqst,
17 struct rpc_msg *msg);
18
19
20#define DECLARE_NSS_PROTOTYPES(service) \
21extern enum nss_status _nss_ ## service ## _getpublickey \
22 (const char *netname, char *pkey, int *errnop); \
23extern enum nss_status _nss_ ## service ## _getsecretkey \
24 (const char *netname, char *skey, char *passwd, \
25 int *errnop);
26
27DECLARE_NSS_PROTOTYPES (files)
28DECLARE_NSS_PROTOTYPES (nis)
29DECLARE_NSS_PROTOTYPES (nisplus)
30
31#undef DECLARE_NSS_PROTOTYPES
32
33libc_hidden_proto (authdes_getucred)
34libc_hidden_proto (xdr_authdes_cred)
35libc_hidden_proto (xdr_authdes_verf)
36
37# endif /* !_ISOMAC */
38#endif
39