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