1 #ifndef _RPC_AUTH_DES_H
3 #include <sunrpc/rpc/auth_des.h>
5 libc_hidden_proto (getpublickey
)
6 libc_hidden_proto (getsecretkey
)
7 libc_hidden_proto (rtime
)
9 extern bool_t
xdr_authdes_cred (XDR
*xdrs
, struct authdes_cred
*cred
);
10 extern bool_t
xdr_authdes_verf (XDR
*xdrs
,
11 struct authdes_verf
*verf
);
14 extern enum auth_stat
_svcauth_des (struct svc_req
*rqst
,
18 #define DECLARE_NSS_PROTOTYPES(service) \
19 extern enum nss_status _nss_ ## service ## _getpublickey \
20 (const char *netname, char *pkey, int *errnop); \
21 extern enum nss_status _nss_ ## service ## _getsecretkey \
22 (const char *netname, char *skey, char *passwd, \
25 DECLARE_NSS_PROTOTYPES (files
)
26 DECLARE_NSS_PROTOTYPES (nis
)
27 DECLARE_NSS_PROTOTYPES (nisplus
)
29 #undef DECLARE_NSS_PROTOTYPES
31 libc_hidden_proto (authdes_getucred
)
32 libc_hidden_proto (xdr_authdes_cred
)
33 libc_hidden_proto (xdr_authdes_verf
)