1 #ifndef _RPC_AUTH_DES_H
3 #include <sunrpc/rpc/auth_des.h>
5 libc_hidden_proto (getpublickey
)
6 libc_hidden_proto (rtime
)
8 extern bool_t
xdr_authdes_cred (XDR
*xdrs
, struct authdes_cred
*cred
);
9 extern bool_t
xdr_authdes_verf (register XDR
*xdrs
,
10 register struct authdes_verf
*verf
);
13 extern enum auth_stat
_svcauth_des (register struct svc_req
*rqst
,
14 register struct rpc_msg
*msg
);
17 #define DECLARE_NSS_PROTOTYPES(service) \
18 extern enum nss_status _nss_ ## service ## _getpublickey \
19 (const char *netname, char *pkey, int *errnop); \
20 extern enum nss_status _nss_ ## service ## _getsecretkey \
21 (const char *netname, char *skey, char *passwd, \
24 DECLARE_NSS_PROTOTYPES (files
)
25 DECLARE_NSS_PROTOTYPES (nis
)
26 DECLARE_NSS_PROTOTYPES (nisplus
)
28 #undef DECLARE_NSS_PROTOTYPES